Skip to content

Commit ac4e008

Browse files
authored
Merge pull request #80145 from kowen-rh/ocpbugs-21125
OCPBUGS#21125: Add scope and type to `allowedSourceRanges` example command
2 parents 0ef191a + ada0dd0 commit ac4e008

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)