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
Update vendor dependencies #428
Conversation
Hi @humblec. Thanks for your PR. I'm waiting for a kubernetes-csi 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. |
93dd4bc
to
3e22591
Compare
/release-note-none |
/ok-to-test |
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.
This is going to be more complicated. We first need a release of sig-storage-lib-external-provisioner and external-snapshotter which also use the new client-go API.
I can take over this work as I need it, too.
@pohly I see that sig-storage-lib-external-provisioner dep is already updated to 1.18. We also have a RC release for external-snapshotter whose dep is also updated to 1.18. So we can get this updated now? |
Do we also need to bump sig-storage-lib-external-provisioner and external-snapshotter to 1.19? |
sure! |
Kubernetes 1.18 introduced a ctx parameter in all API client-go API calls. Whenever possible, that context is passed in by the caller instead of making one up locally. Newer releases of external-snapshotter and sig-storage-lib-external-provisioner are needed because they have to be compatible with the new client-go API (can't mix different versions of it).
The work was duplicated in other PR (#452) too which is pulled here after the discussion with @pohly |
@xing-yang @msau42 @jsafrane ptal. |
@@ -16,7 +18,7 @@ import ( | |||
"k8s.io/client-go/tools/cache" | |||
"k8s.io/client-go/util/workqueue" | |||
"k8s.io/klog" | |||
"sigs.k8s.io/sig-storage-lib-external-provisioner/v5/controller" | |||
"sigs.k8s.io/sig-storage-lib-external-provisioner/v6/controller" |
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.
Need to wait for the next release which depends on k8s 1.19
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.
hmm.. bit confused.. we already have this import available in sig-s-l-e-provisioner with v6.0.0
release. https://github.com/kubernetes-sigs/sig-storage-lib-external-provisioner/releases/tag/v6.0.0. So that should be enough ,Isnt it @xing-yang
@humblec: 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. |
The latest is v0.19.0-rc.2 |
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
sure, using it in the updated commit. |
@xing-yang @msau42 @jsafrane ptal. |
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.
Need a sig-storage-lib-external-provisioner v7 or v7-rc1 release. Other than that, it looks good to me.
@@ -39,7 +38,7 @@ import ( | |||
utilflag "k8s.io/component-base/cli/flag" | |||
csitrans "k8s.io/csi-translation-lib" | |||
"k8s.io/klog" | |||
"sigs.k8s.io/sig-storage-lib-external-provisioner/v5/controller" | |||
"sigs.k8s.io/sig-storage-lib-external-provisioner/v6/controller" |
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.
Waiting for a v7 or v7-rc1
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.
@xing-yang v7
update can be a separate PR too.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: humblec, msau42 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 |
…go_modules/google.golang.org/grpc-1.54.0 Bump google.golang.org/grpc from 1.53.0 to 1.54.0
Update to client-go with ctx parameter
Kubernetes 1.18 introduced a ctx parameter in all API client-go API
calls. Whenever possible, that context is passed in by the caller
instead of making one up locally.
Newer releases of external-snapshotter and
sig-storage-lib-external-provisioner are needed because they have to
be compatible with the new client-go API (can't mix different versions
of it).
This PR handles:
kube dependencies are updated to
v0.19.0-rc.2
sig-storage-lib-exernal-provisioner use
v6
instead ofv5
.external snapshotter dependency updated to
v2.2.0-rc1