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

Consider using Gateway.spec.infrastructure labels/annotations fields #10821

Open
jenshu opened this issue Mar 12, 2025 · 0 comments
Open

Consider using Gateway.spec.infrastructure labels/annotations fields #10821

jenshu opened this issue Mar 12, 2025 · 0 comments

Comments

@jenshu
Copy link
Contributor

jenshu commented Mar 12, 2025

Gateways now have an infrastructure field, which allows users to specify labels and annotations to apply to all dynamically provisioned proxy resources. Consider using the new fields instead of, or in addition to, the currently supported GatewayParameters fields.

Things to consider:

  • Note that currently, labels and annotations for Pods, Services, and ServiceAccounts can each be configured independently via GatewayParameters, whereas the Gateway.spec.infrastructure field would apply the same set of labels/annotations to all proxy resources. If we use Gateway.spec.infrastructure, should that be considered a base set of labels/annotations for all resources, that can be further customized per-resource via GatewayParameters? Would we merge or overwrite (or should we deprecate/remove the GWP fields and only use infrastructure)?
  • There would be a slight UX change, where proxy config would now live in 2 places: labels/annotations would live on the Gateway spec, and other config would live in GatewayParameters. Is this acceptable?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant