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
Automated cherry pick of #123570: Filter aggregated apiservice gv #123624
Automated cherry pick of #123570: Filter aggregated apiservice gv #123624
Conversation
/kind bug Will let @kubernetes/release-team-leads provide cherry-pick approval once tests pass. |
/assign @liggitt |
/approve |
/lgtm |
/lgtm cancel |
return aggregator.FilterSpecByPathsWithoutSideEffects(result, []string{"/apis/"}), etag, nil | ||
group := specInfo.apiService.Spec.Group | ||
version := specInfo.apiService.Spec.Version | ||
return aggregator.FilterSpecByPathsWithoutSideEffects(result, []string{"/apis/" + group + "/" + version}), etag, nil |
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.
is the trailing slash the path prefix had previously (/apis/
) significant?
the new prefix does not end in a slash... does this mean APIService group=foo, version=v1 can return /apis/foo/v1beta1
stuff and have it included?
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.
yes, thanks for catching this. Opened #123770
/retest |
/retest |
/lgtm |
LGTM label has been added. Git tree hash: 3e7fc7518335fa8415be4c5b573f6c9467574dbc
|
/cc kubernetes/release-managers |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dims, Jefftree, saschagrunert, shyamjvs 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 |
Cherry pick of #123570 on release-1.29.
#123570: Filter aggregated apiservice gv
Also includes #123770
For details on the cherry pick process, see the cherry pick requests page.