mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
[aws] allow true/false in lb annotations
This commit is contained in:
parent
5589c5b3cb
commit
076dbc6fd6
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user