Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Add support for new Gateway infrastructure labels, possibly deprecate GatewayClassConfig copyAnnotations #601

Open
mikemorris opened this issue Dec 11, 2023 · 1 comment

Comments

@mikemorris
Copy link
Contributor

mikemorris commented Dec 11, 2023

Is your feature request related to a problem? Please describe.

The GatewayClassConfig copyAnnotations field currently enables similar functionality (and was a necessary workaround prior to this functionality landing upstream), but is a bit awkward UX for this configuration as populating these values requires both configuring annotations on the Gateway resources itself and then setting a global configuration from a resource referenced by the GatewayClass to select specific annotation keys to be copied, which is several steps removed from the resource a user will want to configure (the underlying Service provisioned by a user-configured Gateway resource) - this can be a source of confusion.

Feature Description

Add support for the new infrastructure field as described in https://kubernetes.io/blog/2023/11/28/gateway-api-ga/#gateway-infrastructure-labels, which allows a user to specify labels and annotations on a Gateway resource which should be populated through to any underlying resources provisioned by the Gateway API controller implementation.

Use Case(s)

This will enable a more direct UX for configuring labels and annotations for the underlying load balancer Service resources provisioned by Gateways for use cases such as customizing cloud load balancer types or timeouts as described in the linked Discuss post.

References

@sophie-gairo
Copy link

Hey Mike! We just had a good preliminary discussion around options for this, we'll circle back here when we have some more info, thanks :D

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants