You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Report proper conditions when GatewayClass is invalid or doesn't exist (#576)
* Refactor listener validation
* Report proper conditions when GatewayClass is invalid or doesn't exist
If GatewayClass is invalid or doesn't exist:
- For Gateway Listeners: NKG will make every listener invalid and
report Accepted condition with status False and reason
NoValidGatewayClass in every listener status.
- For HTTPRoutes: An HTTPRoute will not be able to attach to any
listener, because they will be invalid. This is already handled: NKG
will report Accepted condition with status False and reason
InvalidListener.
Fixes#307
* Introduce gateway_listener.go - move all listener-related code there
0 commit comments