-
Notifications
You must be signed in to change notification settings - Fork 130
Closed
Labels
area/gateway/coreRelates to all Core features of GatewayRelates to all Core features of Gatewayarea/httproute/coreRelates to all Core features of HTTPRouteRelates to all Core features of HTTPRouteenhancementNew feature or requestNew feature or requestrefinedRequirements are refined and the issue is ready to be implemented.Requirements are refined and the issue is ready to be implemented.
Milestone
Description
Background
There is one to one mapping between NKG and GatewayClass resource.
The GatewayClass might be invalid (ex, its controllerName doesn't match NKG controller name). The GatewayClass might not even exist.
For those cases NGK doesn't generate any NGINX configuration and as a result, NGINX will not accept any traffic.
However, NKG still processes Gateways and HTTPRoutes.
Requirements
When GatewayClass is invalid or it is doesn't exist, NGK must report Accepted (false) and appropriate reasons in the statuses of HTTPRoute resources and Gateway resources.
Figure out an appropriate Reason. Check the Gateway API first. If necessary, introduce NKG-specific reasons.
Acceptance Criteria
- implement the requirements
- update the doc https://github.com/nginxinc/nginx-kubernetes-gateway/blob/main/docs/gateway-api-compatibility.md#httproute
Aha! Link: https://nginx.aha.io/features/NKG-17
Metadata
Metadata
Assignees
Labels
area/gateway/coreRelates to all Core features of GatewayRelates to all Core features of Gatewayarea/httproute/coreRelates to all Core features of HTTPRouteRelates to all Core features of HTTPRouteenhancementNew feature or requestNew feature or requestrefinedRequirements are refined and the issue is ready to be implemented.Requirements are refined and the issue is ready to be implemented.