aws / aws-application-networking-k8s

A Kubernetes controller for Amazon VPC Lattice
https://www.gateway-api-controller.eks.aws.dev/
Apache License 2.0
157 stars 48 forks source link

Custom tags to VPC Lattice Components #611

Open falken opened 3 months ago

falken commented 3 months ago

Hello!

Our Cloud Operation guidelines require us to attach specific tags to all of our resources for billing/governance reasons. Using the Gateway API to manage VPC Lattice components makes this impossible.

Doing this is supported in the aws-load-balancer component here:

https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.7/guide/ingress/annotations/#resource-tags

alb.ingress.kubernetes.io/tags: Environment=dev,Team=test,component=my-component

We need to be able to add something like: application-networking.k8s.aws/tags: Environment=dev,Team=test,component=my-component

and have it set the tags on the TargetGroup/Service/Listener etc.