-
Notifications
You must be signed in to change notification settings - Fork 55
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 to k/k 1.16 #32
Conversation
Welcome @jichenjc! |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jichenjc 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 |
/assign @andrewsykim Can you have a look at this? I don't know what the implications will be for other users of this lib if we bump the Kubernetes dependency to 1.16. The underlying problem is that Kubernetes packages don't have semantic versioning. So even though csi-lib-utils seems to be compatible with any version >= 1.14 (or at least no code changes were necessary to compile with 1.16), we can't specify that in the I don't know for sure how Go modules would handle this. I suspect it would allow us to select 1.14 for reproducible builds of |
Perhaps we can approximate the |
can we create a new tag e.g 0.6.2 if we bump to k/k 1.16 so older still can rely on 0.6.1? and for newer can rely on 0.6.2 the go mod might be another way to try as well |
@jichenjc would an override in your Gopkg.toml file for the kubernetes dependencies work? |
ok, will try it later on (holiday approaching), thanks~ |
PR #33 was merged, please let us know whether this is still needed. |
let me close this and let me try with go module first, if needed, might open another one. thanks~ |
What type of PR is this?
What this PR does / why we need it:
solving kubernetes/cloud-provider-openstack#702 as I have to include leaderelection file into cloud provider openstack and when running
dep ensure
I have following error, seems csi-lib-utils still rely on k/k1.14 while conflict to cloud provider openstack on 1.16Solving failure: No versions of github.com/kubernetes-csi/csi-lib-utils met constraints:
v0.6.1: Could not introduce github.com/kubernetes-csi/csi-lib-utils (from https://github.com/kubernetes-csi/csi-lib-utils)@v0.6.1, as it has a dependency on k8s.io/client-go with constraint kubernetes-1.14.0, which has no overlap with existing constraint kubernetes-1.16.0 from (root)
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: