-
Notifications
You must be signed in to change notification settings - Fork 622
Description
What happened:
Running the HTTPRouteRequestMultipleMirrors conformance test fails because the second mirrored backendRef is in a different namespace:
| namespace: another-namespace |
What you expected to happen:
This failure is expected because:
- there is no
another-namespacenamespace with theinfra-backend-v3service - even if there was, there is no
ReferenceGrantto allow the cross ns request
As per BackendObjectRef doc:
If the referent cannot be found, this BackendRef is invalid and must be dropped from the Gateway. The controller must ensure the “ResolvedRefs” condition on the Route status is set to status: False and not configure this backend in the underlying implementation.
If there is a cross-namespace reference to an existing object that is not allowed by a ReferenceGrant, the controller must ensure the “ResolvedRefs” condition on the Route is set to status: False, with the “RefNotPermitted” reason and not configure this backend in the underlying implementation.
How to reproduce it (as minimally and precisely as possible):
Run the conformance test with any compliant gateway implementation.
Anything else we need to know?: