-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
🏃 Bump k8s.io/* deps to v0.31.0-alpha.3 #2872
Conversation
Adapt to upstream changes: * 5e6a4937f5a KEP-4633: Allow health-only anonymous auth mode. Wrap the anonymous flag in a struct pointer. * 75d6f024326 Add field tracker support to client fake fixtures Add CreateOptions and UpdateOptions to the existing versionedTracker methods, and also add the Patch method that was introduced upstream. Signed-off-by: Tom Wieczorek <twieczorek@mirantis.com>
Hi @twz123. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
/ok-to-test |
@twz123 Can you please split up the changes in separate PRs if possible? I assume the follow-up to this change kubernetes/kubernetes#125560 can be done in a separate PR? |
The addition of the variadic options arguments is necessary to make it compile, and the addition of the Patch method is necessary to pass the fake client unit tests, as |
Ah thx for the context. No I think then let's keep everything in this one PR |
/assign |
if err != nil { | ||
return err | ||
} | ||
if obj == 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.
Why these nilchecks? This should never happen and if it does, there is a bug somewhere
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.
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!
LGTM label has been added. Git tree hash: f85a8f1e9027ca4197c7257fa7f8d9c7eeab573c
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alvaroaleman, twz123 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 |
Adapt to upstream changes:
KEP-4633: Only allow anonymous auth for configured endpoints. kubernetes/kubernetes#124917
Wrap the anonymous flag in a struct pointer.
Add field management support to fake client-go typed client kubernetes/kubernetes#125560
Add
CreateOptions
andUpdateOptions
to the existingversionedTracker
methods, and also add thePatch
method that was introduced upstream.