-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
conformance: gateway tests expecting wrong ListenerConditionReason #1297
Comments
I'd be glad to work on a fix for this issue. If this is effectively a bug, I ask to be assigned to fix it. |
Just coming back to this and while I'm fine with using the |
What happened:
In the conformance tests for the gateway there are two different tests [
GatewaySecretInvalidReferenceGrant
,GatewaySecretMissingReferenceGrant
] that expect a listener to have the ReasonCondition asListenerReasonInvalidCertificateRef
. Both tests create a Gateway with a listener that refers to a secret in another namespace and there is noReferenceGrant
granting that reference.For what concerns the
ListenerReasonInvalidCertificateRef
, the godoc says that:while for what concerns the
ListenerReasonRefNotPermitted
, the godoc says that:Since the listener cannot reference the secret as there is no
ReferenceGrant
that allows that reference, the right reason to use for theListenerCondition
isListenerReasonRefNotPermitted
instead ofListenerReasonInvalidCertificateRef
.The text was updated successfully, but these errors were encountered: