Unverified Commit 5fdb0c71 authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #69436 from mcrute/issue-69237

[aws] allow true/false in lb annotations
parents 5602ab77 076dbc6f
...@@ -3330,7 +3330,9 @@ func (c *Cloud) EnsureLoadBalancer(ctx context.Context, clusterName string, apiS ...@@ -3330,7 +3330,9 @@ func (c *Cloud) EnsureLoadBalancer(ctx context.Context, clusterName string, apiS
// Determine if this is tagged as an Internal ELB // Determine if this is tagged as an Internal ELB
internalELB := false internalELB := false
internalAnnotation := apiService.Annotations[ServiceAnnotationLoadBalancerInternal] internalAnnotation := apiService.Annotations[ServiceAnnotationLoadBalancerInternal]
if internalAnnotation != "" { if internalAnnotation == "false" {
internalELB = false
} else if internalAnnotation != "" {
internalELB = true internalELB = true
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment