Skip to content

Commit 7847941

Browse files
committed
BZ2036156 - Fixing command in customizing HAProxy procedure
1 parent 0fd0986 commit 7847941

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ $ oc -n openshift-config create configmap my-custom-error-code-pages \
3535
+
3636
[source,terminal]
3737
----
38-
$ oc patch -n openshift-ingress ingresscontroller/default --patch '{"spec":{"httpErrorCodePages": "my-custom-error-code-pages"}}' --type=merge
38+
$ oc patch -n openshift-ingress-operator ingresscontroller/default --patch '{"spec":{"httpErrorCodePages":{"name":"my-custom-error-code-pages"}}}' --type=merge
3939
----
4040
+
4141
The Ingress Operator copies the `my-custom-error-code-pages` config map from the `openshift-config` namespace to the `openshift-ingress` namespace. The Operator names the config map according to the pattern, `<your_ingresscontroller_name>-errorpages`, in the `openshift-ingress` namespace.

0 commit comments

Comments
 (0)