Skip to content

Commit 809de8c

Browse files
Skaladorjeana-redhat
authored andcommitted
Fix the oc patch command for the global ip forwarding in metallb docs
The oc patch command for global ipForwarding was missing a single quote at the end and a --type=merge to be applied to any cluster.
1 parent f626208 commit 809de8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/nw-metallb-configure-secondary-interface.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ $ oc apply -f enable-ip-forward.yaml
6262
+
6363
[source,terminal]
6464
----
65-
$ oc patch network.operator cluster -p '{"spec":{"defaultNetwork":{"ovnKubernetesConfig":{"gatewayConfig":{"ipForwarding": "Global"}}}}}
65+
$ oc patch network.operator cluster -p '{"spec":{"defaultNetwork":{"ovnKubernetesConfig":{"gatewayConfig":{"ipForwarding": "Global"}}}}}' --type=merge
6666
----

0 commit comments

Comments
 (0)