Support zero hostnames in HTTPRoute #606
Labels
area/httproute/core
Relates to all Core features of HTTPRoute
bug
Something isn't working
conformance
Relates to passing Gateway API conformance tests
refined
Requirements are refined and the issue is ready to be implemented.
Milestone
Describe the bug
NGINX Kubernetes Gateway doesn't try to attach to a listener if an HTTPRoute has 0 hostnames.
To Reproduce
Steps to reproduce the behavior:
Gateway -- https://github.com/nginxinc/nginx-kubernetes-gateway/blob/f74c06ded5c3d647b0909fe542f3e70dbc96774c/examples/cafe-example/gateway.yaml
HTTPRoute:
In the status of the HTTPRoute, NKG reports:
Expected behavior
curl <any-host>/coffee
routes to coffee serviceAdditional context
Conformance tests often don't include hostnames in HTTPRoutes. Example -- https://github.com/kubernetes-sigs/gateway-api/blob/v0.6.2/conformance/tests/httproute-matching.yaml
The text was updated successfully, but these errors were encountered: