-
Notifications
You must be signed in to change notification settings - Fork 475
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
Clarification on behavior for duplicate parent refs for routes. #1925
Comments
I wouldn't mind writing the tests themselves, more looking for clarification on what the expected behavior is here. |
Awesome, appreciate the interest! For extra clarity, can you provide an example YAML configuration of the currently ambiguous situation? |
hey @shaneutt sorry this took a little bit to get back to you on, below is a yaml configuration that shows the ambiguous situation:
so this HTTPRoute references the same gateway twice, but specifies the listener in one parent ref and does not specify it in the other ref. This could be a potentially valid situation if the gateway had more than one listener. |
Thank you for the illustration. Yes this seems like something we would want to specify so let's do this: /triage accepted We'll need whoever takes this on to take some time to build consensus among the community about how to resolve it. It would probably be good to sort it out prior to GA: /kind conformance |
@shaneutt: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
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. |
@robscott is going to create a follow-up issue for this to create a conformance test to resolve this. |
I haven not forgotten about this one, waiting for clarification on #2326 before writing up what we'd expect a conformance test to look like for this. |
I talked with @sunjayBhatia about this one and he can take this one on. /assign @sunjayBhatia We expect resolving #1626 completes most of this. Thanks @sunjayBhatia ! |
Ah sorry, yes it does, I should have taken this issue. |
No worries! I can assign it over to you since you've got that in progress already (if I have powers to do so) Generally looks like this has a lot of overlap with #2326 so probably best resolved together? /assign @youngnick |
What would you like to be added:
An additional conformance test specifying the behavior when a gateway has only a single listener and an http route specifies the gateway twice: once in specifying the gateway with the listener and once without specifying the specific listener. According to the docs this should result in an invalid route configuration.
This feels like a potentially uncovered edge case in the docs as it is neither two identical parents (as could be detected by the webhook) nor two distinct sections, and might be a valid configuration if the Gateway had a second listener which could match the parentRef not specifying a listener name.
Why this is needed:
To clarify the above behavior for implementers of the gateway spec.
The text was updated successfully, but these errors were encountered: