-
Notifications
You must be signed in to change notification settings - Fork 415
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 dependencies + k8s version #116
Conversation
031e861
to
cd9ef67
Compare
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.
One comment, otherwise LGTM
Gopkg.toml
Outdated
|
||
[[override]] | ||
name = "k8s.io/client-go" | ||
version = "kubernetes-1.13.4" |
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.
Are these k8s overrides actually needed? The k8s version should be pulled in from cluster-api which pulls it in from controller-runtime.
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.
I don't think we should be using overrides.
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.
@vincepri / @tariq1890 -- See here in capi:
- https://github.com/kubernetes-sigs/cluster-api/blob/master/Gopkg.lock#L819
- https://github.com/kubernetes-sigs/cluster-api/blob/master/Gopkg.lock#L833
- https://github.com/kubernetes-sigs/cluster-api/blob/master/Gopkg.lock#L888
- https://github.com/kubernetes-sigs/cluster-api/blob/master/Gopkg.lock#L979
CAPI is pulling 1.13.1. I'd like to maintain consistency with the k8s version bump in this PR (1.13.4), hence the overrides.
If the capi versions get constraints for those packages, then I can plan to remove these overrides later.
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.
I would prefer to update CAPI and have that pulled transitively. I don't think we should commit an override dep to master.
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.
PR created for this kubernetes-sigs/controller-runtime#349
Let's go with this approach. I've had plenty of dependency nightmares because of overrides.
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.
@justaugustus This is a common problem for any provider, but I agree with @tariq1890 to stick with controller-runtime's version for now. That won't stop you from deploying a cluster with an updated version though.
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.
SGTM! I've removed the override, set a constraint for client-go @ kubernetes-1.13.1
, and added a TODO to Gopkg.toml which links this comment thread and the dependency bump Tariq PR-ed here: kubernetes-sigs/controller-runtime#349
@tariq1890 / @soggiest -- If everything looks good, this is ready to be re-/lgtm
ed. :)
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.
/lgtm
/hold
Waiting for a response to Vince's comment
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: justaugustus, tariq1890 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 |
/hold cancel |
What this PR does / why we need it:
0f315e945d5fabe0c805ccf30fa6cf02fac6c0b5
-->c51a9c13aa0ebe6d2d7bef869094b9b78bebcd48
25.1.0
-->26.2.0
11.4.0
-->11.5.0
kubernetes-1.13.1
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #93
Release note:
/assign @tariq1890 @soggiest