-
Notifications
You must be signed in to change notification settings - Fork 1.2k
⚠️ Bump to Kubernetes 1.17 dependencies #754
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
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: joelanford The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold Wait until #755 is merged and this is rebased. |
/test pull-controller-runtime-test |
/hold cancel |
/assign @gerred We're going to do this in a pipeline, get 1.16.4 out, then move on to 1.17 in short order -- and ideally automate this to reduce toil @joelanford. |
In theory though, this LGTM, but going to start work on getting this into a full merge to release train. |
1. kubernetes/client-go@fed41f5 This client-go commit is a refactoring that changes how the client and server negotiate the content type and decoder. As a result of this refactoring, controller-runtime's recorder_test has a broken assumption for causing an error creating the client. Therefore, this commit updates the recorder test to use an invalid host, which causes the client to fail in the same way as before, ensuring the test continues to pass. 2. kubernetes/client-go@ba49d2a This client-go commit is a breaking change to resourcelock.Interface. As a result of this change, controller-runtime's fake ResourceLock implementation needed to be updated to account for the interface change.
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
@joelanford Can you please squash commits and rebase? |
I'll approve as soon as that's done. |
ping @joelanford |
@gerred @ialidzhikov @joelanford Opened #795 with squashed commits and rebased on master. Closing this one. /close |
@vincepri: Closed this PR. In response to this:
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. |
Sorry all! GitHub notifications fail. In the future, feel free to ping me on the Kubernetes slack if I'm not responding here. |
This PR bumps controller-runtime to use Kubernetes 1.17 libraries, which will enable controller/operator developers to take advantage of the latest 1.17 client-go and API updates in their projects.
Due to an upstream change in
k8s.io/api
, there is one breaking change in controller-runtime'spkg/leaderelection/fake
package, which is used only inpkg/manager/manager_test.go
, at least internally. Should we deprecate this fake ResourceLock implementation from the public API and plan to move this into aninternal
tree?Here's the notes and output from
go-apidiff
:sigs.k8s.io/controller-runtime