Skip to content

Commit 3ce17fe

Browse files
prithvipatil97openshift-cherrypick-robot
authored andcommitted
Update nw-customize-ingress-error-pages.adoc
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
1 parent e34e95d commit 3ce17fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/nw-customize-ingress-error-pages.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ If you use the {product-title} default 503 error code page as a template for you
2727
[source,terminal]
2828
----
2929
$ oc -n openshift-config create configmap my-custom-error-code-pages \
30-
--from-file=error-page-503.http \
31-
--from-file=error-page-404.http
30+
--from-file=error-page-503.http \
31+
--from-file=error-page-404.http
3232
----
3333
+
3434
[IMPORTANT]
@@ -84,7 +84,7 @@ Verify your custom error code HTTP response:
8484
+
8585
[source,terminal]
8686
----
87-
$ oc new-project test-ingress
87+
$ oc new-project test-ingress
8888
----
8989
+
9090
[source,terminal]

0 commit comments

Comments
 (0)