-
Notifications
You must be signed in to change notification settings - Fork 709
Closed
Labels
kind/bugSomething isn't workingSomething isn't working
Description
Description:
I'm trying out the new XListenerSet feature, and noticed that if I have a route in the same namespace as my XListenerSet manifest, the route will not attach to the XListenerSet unless the allowedRoutes.namespaces.from is set to ALL. I think this is because the route's namespace is being compared to the gateway's namespace rather than the XListenerSet's namespace here
gateway/internal/gatewayapi/contexts.go
Line 173 in 5c2075b
| return l.gateway.Namespace == namespace.Name |
Repro steps:
- Create a gateway in NamespaceA with
allowedListeners.namespaces.from: ALL - Create a listenerSet in NamespaceB with a parentRef of the gateway, and with a listener that does not have the
allowedRoutessection - Create a route in NamespaceB that has a parentRef of the listenerSet
- Note that the route cannot attach with a status of
No listeners included by this parent ref allowed this attachment.
Environment:
Version: 1.7.0
config.envoyGateway.gatewayAPI.enabled: ['XListenerSet']
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working