mirror of https://github.com/k3s-io/k3s
Merge pull request #69436 from mcrute/issue-69237
[aws] allow true/false in lb annotationspull/58/head
commit
5fdb0c7177
|
@ -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