Webhook Validation is bypassed for existing resources when NKG starts #433
Labels
area/gateway/core
Relates to all Core features of Gateway
area/gatewayclass/core
Relates to all Core features of GatewayClass
area/httproute/core
Relates to all Core features of HTTPRoute
bug
Something isn't working
refined
Requirements are refined and the issue is ready to be implemented.
Milestone
Describe the bug
Webhook Validation is bypassed for existing resources when NKG starts.
Note: the webhook validation running inside NKG process.
To Reproduce
Make sure Webhook is not installed, so that we test the webhook validation running inside NKG process.
Why? Because the resource is included in the first batch -- https://github.com/nginxinc/nginx-kubernetes-gateway/blob/13fc9a2428ee90648681abb22e08ef5f79d33e03/internal/events/loop.go#L92
Expected behavior
Validation is not bypassed.
Your environment
Aha! Link: https://nginx.aha.io/features/NKG-51
The text was updated successfully, but these errors were encountered: