Bump kubernetes dependencies to client-go 1.10/k8s 1.13 #1542
Conversation
Also, it removes dependency to kubernetes/kubernetes, which is not meant to be vendored, in favor of additional dependencies to kubernetes/api and kubernetes/apimachinery, which are. Incidentally, this reduces the overall dependency graph by a fair amount.
Hi @munnerz. Thanks for your PR. I'm waiting for a heketi 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/test-infra repository. |
Can one of the admins verify this patch? |
This seems to be passing on Travis 馃槃 As @sigma described, Kubernetes is using Go features that were only introduced in 1.10 ( |
I am able to build the |
/ok-to-test |
eyes on this would be appreciated. I'm looking to move forward with go modules in k8s 1.15 and getting this ironed out would be helpful |
/retest |
retest this please |
(centos ci uses a different magic incantation ;-)) |
One thing we need to sort out with the PR is the spate of unrelated changes that occurs in glide. This is perpetually an issue with heketi (at least how we use glide). I'm not against updating dependencies but we should not be updating a bunch of stuff unrelated to the work happening for kube specific stuff in this PR. |
I fully agree, the patch looks good. But we need to untangle the |
@munnerz I (and I guess others) are more than happy to help with the reworking of the glide.lock patch, if you don't have the time or motivation to do it. :-) PS: we really have to get rid of glide... |
The commit Also, we could squash the two patches for moving to v8.0.0 and then to v10.0.0 into one unless there's a good reason to keep the two steps separate. (If you wanted to keep the authorship of the original comment, I could live with that.) |
@munnerz any chance of reviving this (maybe on v1.15 or v1.16)? looks like this blocks getting k8s.io/kubernetes to go1.13 (xref kubernetes/kubernetes#82506) |
updated to 1.15.3 and rebased in #1649 |
PR is obsoleted by #1649 which was merged. Closing this PR as the goals of this PR are now met. Thank you for your contribution. |
What does this PR achieve? Why do we need it?
This pull-request follows up on #1272 and bumps client-go to 1.10 (i.e. the latest).
From my understanding of the previous pull request, this should help unblock work on getting kubernetes/kubernetes to use go modules eventually 馃槃
The changes/concerns expressed in @sigma's comment: #1272 (comment) are not issues, as the Kubernetes API types as serialised to JSON are still identical, despite the structure names changing.
/cc @sigma @phlogistonjohn @obnoxxx