-
Notifications
You must be signed in to change notification settings - Fork 498
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
gamma: drop provision to omit backendRef #2031
gamma: drop provision to omit backendRef #2031
Conversation
Lines 164 to 169 in a8826b8
Doesn't requiring |
I would say yes, and I think that is the most compelling reason to keep it if we do. But I would note this is a fairly narrow UX optimization; once they start using a different backend (example - canary) then they lose this enhancement. It seems a like a possible foot-gun that to change the backend from |
👍 can we drop the optional port for Service parentRefs if we drop optional backendRefs? Then ideally "missing port & kind: Service" in a parentRef would be rejected by the webhook. But the status quo of optional parentRef port and optional backendRefs works for me. |
@howardjohn I think if we do remove this we should clearly note why it was removed and provide very clear guidance for how the situation should (or must) be handled. Removing the "SHOULD" without actually leaving any guidance for how to handle this case could result in more confusion and inconsistency across providers. |
It should be done gateway-api wide then IMO. It's not gamma specific to
have no backendRef (if we merge this, anyways).
Which the answer will be a 500 error I think
…On Wed, May 17, 2023, 2:42 PM Rob Scott ***@***.***> wrote:
@howardjohn <https://github.com/howardjohn> I think if we do remove this
we should clearly note why it was removed and provide very clear guidance
for how the situation should (or must) be handled. Removing the "SHOULD"
without actually leaving any guidance for how to handle this case could
result in more confusion and inconsistency across providers.
—
Reply to this email directly, view it on GitHub
<#2031 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEYGXIK33ONN7YPEKBJRHLXGVA5LANCNFSM6AAAAAAYFTFTEM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM other than line 96
IMO, this does not make sense as SHOULD. It should be a MUST or not in the spec. I have proposed removal for the following reasons: * Inconsistent with Gateway parent ref (which also means you cannot possibly have a service parent and gateway parent) * Limits ability to have non-Service parents, as it implies the frontend and backend are the same object
a8826b8
to
41fa159
Compare
Add back removed line and explained this was removed |
Thanks @howardjohn! Based on discussion in GAMMA meeting today and approvals above, I think we've got consensus here. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: howardjohn, keithmattix, michaelbeaumont, 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 |
What type of PR is this?
/kind gep
What this PR does / why we need it:
IMO, this does not make sense as SHOULD. It should be a MUST or not in the spec.
I have proposed removal for the following reasons:
Does this PR introduce a user-facing change?: