Describe the bug
Removed annotation service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: "*" from my k8s LoadBalancer service, observed the target groups still had Proxy protocol v2: On
Steps to reproduce
Remove annotation service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: "*" from a K8s load balancer service, observe the target group doesn't receive the update.
Expected outcome
I expect target group to get updated to Proxy protocol v2: Off
Describe the bug Removed annotation
service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: "*"
from my k8s LoadBalancer service, observed the target groups still hadProxy protocol v2: On
I see in the source code, it never sets to
false
: https://github.com/kubernetes-sigs/aws-load-balancer-controller/blob/ac21af638efdbf378f194b88ed12b70b5b0ae50a/pkg/service/model_build_target_group.go#L218-L224Steps to reproduce Remove annotation
service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: "*"
from a K8s load balancer service, observe the target group doesn't receive the update.Expected outcome I expect target group to get updated to
Proxy protocol v2: Off
Environment