-
Notifications
You must be signed in to change notification settings - Fork 335
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
Install a validating webhook for Gateway API custom resources #3416
Comments
triage: We want this because there's no other machinery that installs the webhook and it's better to give early feedback for users. |
I think we may want to separate our validation from core Gateway API validation since our validator will end up validating resources of a different |
In principle, it's OK for multiple controllers to validate gateway resources. Could be a trap if someone has some buggy validation though. |
This issue was inactive for 30 days it will be reviewed in the next triage meeting and might be closed. |
xref #3905 |
See also kubernetes-sigs/gateway-api#1005 |
Description
Gateway API has a validating webhook because not all the invariants of the API can be enforced by CRD validation. We need to install the validation webhook for the Gateway API types, though not necessarily as a separate controller. I expect that the gateway controller can be the admission controller, since the validation is exposed as a public package in the gateway Go module.
https://github.com/kubernetes-sigs/gateway-api/blob/master/deploy/admission_webhook.yaml
The text was updated successfully, but these errors were encountered: