-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
⚠️ Use metadata-only client when retrieving CRDs #3625
⚠️ Use metadata-only client when retrieving CRDs #3625
Conversation
205ae42
to
3bd5179
Compare
/milestone v0.3.10 |
3bd5179
to
9d53e55
Compare
9d53e55
to
14d1f0e
Compare
Signed-off-by: Vince Prignano <vincepri@vmware.com>
14d1f0e
to
6dbac9d
Compare
/lgtm |
@vincepri: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
Marking as
|
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.
approve pending @yastij review
} | ||
|
||
// Pick the latest version in the slice and validate it. | ||
kubeVersions := util.KubeAwareAPIVersions(strings.Split(supportedVersions, "_")) | ||
sort.Sort(kubeVersions) | ||
chosen := kubeVersions[len(kubeVersions)-1] | ||
|
||
// Validate that the picked version is actually in the CRD spec. |
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.
Working with metadata we are losing the validation that the picked version is an actual version, but I think this is an acceptable trade-off
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
/approve
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ncdc, yastij 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 |
Signed-off-by: Vince Prignano vincepri@vmware.com
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #