Skip to content

Commit ada0dd0

Browse files
committed
OCPBUGS#21125: Add scope and type to allowedSourceRanges example command
1 parent 3afc9d1 commit ada0dd0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/nw-configuring-lb-allowed-source-ranges.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ If you have already set the `spec.loadBalancerSourceRanges` field or the load ba
2525
----
2626
$ oc -n openshift-ingress-operator patch ingresscontroller/default \
2727
--type=merge --patch='{"spec":{"endpointPublishingStrategy": \
28-
{"loadBalancer":{"allowedSourceRanges":["0.0.0.0/0"]}}}}' <1>
28+
{"type":"LoadBalancerService", "loadbalancer": \
29+
{"scope":"External", "allowedSourceRanges":["0.0.0.0/0"]}}}}' <1>
2930
----
3031
<1> The example value `0.0.0.0/0` specifies the allowed source range.

0 commit comments

Comments
 (0)