aws-load-balancer-controller icon indicating copy to clipboard operation
aws-load-balancer-controller copied to clipboard

ALB not deleted after changing group.name

Open ecerulm opened this issue 1 year ago • 1 comments

Describe the bug

aws-load-balancer-controller 2.7.1

I had an ingress that did not have any alb.ingress.kubernetes.io/group.name annotation.
I add the alb.ingress.kubernetes.io/group.name annotation to the Ingress. A new ALB is created. The old ALB is not deleted.

I though the

If an IngressGroup no longer contains any Ingresses, the ALB for that IngressGroup will be deleted and any deletion protection of that ALB will be ignored.

meant that the "implicit IngressGroup" that existed before will be deleted now that it's empy.

Steps to reproduce

Expected outcome

The old ALB should be deleted.

Environment

  • AWS Load Balancer controller version: 2.7.1
  • Kubernetes version: 1.29
  • Using EKS (yes/no), if so version? eks 1.29

Additional Context:

ecerulm avatar Oct 15 '24 07:10 ecerulm