-
Notifications
You must be signed in to change notification settings - Fork 482
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
[GEP-1911] Update BackendRef with GEP details #2444
Conversation
cc @andrew-su /assign @robscott @shaneutt @youngnick |
What's the equivalent of |
@dprotaso fortunately we actually added something for that recently: gateway-api/apis/v1beta1/shared_types.go Lines 174 to 176 in 18506b7
|
hmm.. it didn't update HTTPRoute in the experimental channel 🤔 |
Random guess is the generator mutates the CRD - so we should be generating experimental types first (no mutations) then standard one) |
Oddly we call DeepCopy() so 🤔 |
/hold |
Following up - looks like the text is not updated on the HTTPRoute is because of how controller-tools works Because For example this block doesn't appear in the CRD docs for HTTPRoute gateway-api/apis/v1beta1/httproute_types.go Lines 1115 to 1149 in 18506b7
Instead what shows up in the CRD description is just the HTTPBackendRef godoc gateway-api/apis/v1beta1/httproute_types.go Lines 1113 to 1114 in 18506b7
@robscott @shaneutt @youngnick not sure what we want here - do you have opinions? If we are strict about wanting this documentation to appear on the crd descriptions we'll have to duplicate the godoc and add it to the top of |
If we're otherwise good with the docs as they are on the types then feel free to drop the |
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.
Thanks @dprotaso! I actually ended up with more questions this time around as I dug into it a bit more, hopefully these make sense.
LGTM so I'll hit the approve button, @robscott up to you after that. /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprotaso, youngnick 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 |
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.
Thanks @dprotaso! Just a few more nits but otherwise LGTM.
Thanks @dprotaso! /lgtm |
One non-blocking thing I missed, do you mind adding a release note to the release note block of this PR @dprotaso? (Can happen post-merge, just helps us not miss anything when we're generating the changelog). |
/kind gep
/kind documentation
What this PR does / why we need it:
BackendRef
ServicePort.protocol
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: