From ef5f568271c7e2a3dbbf2d239f4e2762c5ea02ae Mon Sep 17 00:00:00 2001 From: Gaurav Kumar Ghildiyal Date: Thu, 27 Jul 2023 17:05:45 -0700 Subject: [PATCH] =?UTF-8?q?Revert=20"[Cherry-pick=C2=A0#2186]=20Include=20?= =?UTF-8?q?proxy-only=20subnet=20with=20purpose=3DREGIONAL=5FMANAGED=5FPRO?= =?UTF-8?q?XY=20when=20ge=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/loadbalancers/features/l7ilb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/loadbalancers/features/l7ilb.go b/pkg/loadbalancers/features/l7ilb.go index 83655124eb..33fe57e423 100644 --- a/pkg/loadbalancers/features/l7ilb.go +++ b/pkg/loadbalancers/features/l7ilb.go @@ -44,7 +44,7 @@ func ILBSubnetSourceRange(cloud *gce.Cloud, region string) (string, error) { if err != nil { return "", fmt.Errorf("error comparing subnets: %v", err) } - if subnet.Role == "ACTIVE" && (subnet.Purpose == "INTERNAL_HTTPS_LOAD_BALANCER" || subnet.Purpose == "REGIONAL_MANAGED_PROXY") && sameNetwork { + if subnet.Role == "ACTIVE" && subnet.Purpose == "INTERNAL_HTTPS_LOAD_BALANCER" && sameNetwork { klog.V(3).Infof("Found L7-ILB Subnet %s - %s", subnet.Name, subnet.IpCidrRange) return subnet.IpCidrRange, nil }