You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Command correction in Customizing HAProxy error code response pages
Here is the documentation link:
https://docs.redhat.com/en/documentation/openshift_container_platform/4.16/html/networking/networking-operators#nw-customize-ingress-error-pages_configuring-ingress
Here is the current look:
Procedure
Create a config map named my-custom-error-code-pages in the openshift-config namespace:
$ oc -n openshift-config create configmap my-custom-error-code-pages \
--from-file=error-page-503.http \
--from-file=error-page-404.http
The above command is not structured properly.
We can use the above command as well, and it will execute perfectly.
But its structure is not as per our standard procedure.
Hence, it needs to be changed.
Here is the updatd look:
Procedure
Create a config map named my-custom-error-code-pages in the openshift-config namespace:
$ oc -n openshift-config create configmap my-custom-error-code-pages \
--from-file=error-page-503.http \
--from-file=error-page-404.http
[new-commit] Update nw-customize-ingress-error-pages.adoc
[new-commit] Update nw-customize-ingress-error-pages.adoc
0 commit comments