Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--default-tags is overriding tags set in Ingress annotations #4005

Open
bytemux opened this issue Jan 8, 2025 · 0 comments
Open

--default-tags is overriding tags set in Ingress annotations #4005

bytemux opened this issue Jan 8, 2025 · 0 comments

Comments

@bytemux
Copy link

bytemux commented Jan 8, 2025

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

  1. Set defaultTags for aws-load-balancer-controller:
--default-tags=Tag1=default
  1. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants