Listener AllowedRoutes.Kinds field isn't enforced #2299
Labels
bug
Something isn't working
refined
Requirements are refined and the issue is ready to be implemented.
size/small
Estimated to be completed within ~2 days
Milestone
Describe the bug
NGF allows all route kinds to attach to a listener regardless of the kinds specified in the listener
AllowedRoutes.Kinds
field.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The HTTPRoute should not be able to attach to the Gateway listener that only allows kinds GRPCRoute.
The HTTPRoute should not be accepted and should have the following condition set on its status:
Note: GRPCRoutes can also be attached to Gateway listeners that only allow kinds HTTPRoute.
Your environment
1dac4584266c6ae3b0f0c9564c0643e5cafce640
The text was updated successfully, but these errors were encountered: