Skip to content

Commit

Permalink
Merge pull request kubernetes#69436 from mcrute/issue-69237
Browse files Browse the repository at this point in the history
[aws] allow true/false in lb annotations
  • Loading branch information
k8s-ci-robot authored Oct 5, 2018
2 parents 5602ab7 + 076dbc6 commit 5fdb0c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/cloudprovider/providers/aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -3330,7 +3330,9 @@ func (c *Cloud) EnsureLoadBalancer(ctx context.Context, clusterName string, apiS
// Determine if this is tagged as an Internal ELB
internalELB := false
internalAnnotation := apiService.Annotations[ServiceAnnotationLoadBalancerInternal]
if internalAnnotation != "" {
if internalAnnotation == "false" {
internalELB = false
} else if internalAnnotation != "" {
internalELB = true
}

Expand Down

0 comments on commit 5fdb0c7

Please sign in to comment.