From 36e03493c2e61be772e20b0798eb6e8d92f527a5 Mon Sep 17 00:00:00 2001 From: Kevin Owen Date: Wed, 7 Aug 2024 12:08:04 -0400 Subject: [PATCH] OCPBUGS#21125: Add scope and type to `allowedSourceRanges` example command --- modules/nw-configuring-lb-allowed-source-ranges.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/nw-configuring-lb-allowed-source-ranges.adoc b/modules/nw-configuring-lb-allowed-source-ranges.adoc index a07d6f4537..937fde6706 100644 --- a/modules/nw-configuring-lb-allowed-source-ranges.adoc +++ b/modules/nw-configuring-lb-allowed-source-ranges.adoc @@ -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.