1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

Merge pull request #80244 from openshift-cherrypick-robot/cherry-pick-80145-to-enterprise-4.17

[enterprise-4.17] OCPBUGS#21125: Add scope and type to `allowedSourceRanges` example command
This commit is contained in:
Sebastian Kopacz
2024-08-08 14:25:02 -04:00
committed by GitHub

View File

@@ -25,6 +25,7 @@ If you have already set the `spec.loadBalancerSourceRanges` field or the load ba
----
$ oc -n openshift-ingress-operator patch ingresscontroller/default \
--type=merge --patch='{"spec":{"endpointPublishingStrategy": \
{"loadBalancer":{"allowedSourceRanges":["0.0.0.0/0"]}}}}' <1>
{"type":"LoadBalancerService", "loadbalancer": \
{"scope":"External", "allowedSourceRanges":["0.0.0.0/0"]}}}}' <1>
----
<1> The example value `0.0.0.0/0` specifies the allowed source range.