--default-tags is overriding tags set in Ingress annotations #4005
Open
Description
Describe the bug
--default-tags is overriding tags set in Ingress annotations, not matching the documented behavior
Parameter | Description | Default |
---|---|---|
defaultTags |
Default tags to apply to all AWS resources managed by this controller | {} |
Also reported in #187 (comment)
Steps to reproduce
- Set defaultTags for aws-load-balancer-controller:
--default-tags=Tag1=default
- Create Ingress with
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
alb.ingress.kubernetes.io/tags: Tag1=fromannotation,Tag2=foobar
Expected outcome
ALB has tags: Tag1=fromannotation,Tag2=foobar
Actual outcome
ALB has tags: Tag1=default,Tag2=foobar
Environment
- AWS Load Balancer controller version public.ecr.aws/eks/aws-load-balancer-controller:v2.8.1
- Kubernetes version 1.30
- Using EKS (yes/no), if so version? Yes, 1.30