-
Notifications
You must be signed in to change notification settings - Fork 490
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
api: remove ListenerReasonUnsupportedExtension #1146
api: remove ListenerReasonUnsupportedExtension #1146
Conversation
This appears to be an artifact of the v1alpha1 configuration style where a listener selects routes.
Hi @mikemorris. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
I agree that this removal makes sense. We should not detach a listener if a Route fails to attach to it. I think we should create a follow up issue to discuss what we should do instead of this. Will leave this for @hbagdi, @youngnick, or someone else to sign off. Or we can get final sign off at community meeting on Monday. /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mikemorris, robscott The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm I agree this should go, and we can follow up the extra edge cases separately. |
/retest |
What type of PR is this?
/kind cleanup
/kind documentation
/kind api-change
/kind deprecation
What this PR does / why we need it:
This appears to be an artifact of the v1alpha1 configuration style where a listener selects routes directly. If I understand correctly, this is a reference to the
ExtensionRef
field onHTTPRouteRule
(and other xRouteRule objects), which are the only other uses of the termExtension
currently in the spec codebase.UnsupportedExtension
should likely become a RouteConditionReason instead, but I'm not quite sure with which RouteConditionType it should be used.The intended behavior now is a bit unclear (it's an edge case not currently described in #1112). While rejecting a route entirely because of a single unsupported filter on one rule might have a large blast radius, I'm thinking through a few possible scenarios and potential impact/mitigation and wondering if that might actually be okay (and might even be desirable if using
ExtensionRef
to implement something like JWT auth):ExtensionRef
configurations that cause an attached route to become detached?Which issue(s) this PR fixes:
Refs #1077, #935 (comment)
Does this PR introduce a user-facing change?: