-
Notifications
You must be signed in to change notification settings - Fork 39k
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
kubeadm: use ClusterConfiguration in images.go #67503
kubeadm: use ClusterConfiguration in images.go #67503
Conversation
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.
@rosti +100 for jumping in and helping on @luxas work!
/approve
Being this so big, I kindly ask @timothysc or @liztio (or *) to give a second pass + final lgtm
the last commit here looks good, just waiting on the parent PR to merge |
b5ae84b
to
bde91ee
Compare
acdc496
to
f1e8d8e
Compare
/hold I'm just going to put a hold on this one till the other PRs clear out. We have a bunch of large PRs in flight in the merge queue. I have no idea why they are taking so long, but I will check back on this one tomorrow. |
Replace the unnecessary use of InitConfiguration in images.go with ClusterConfiguration. This changes the interfaces of the following functions: - GetKubeControlPlaneImage - GetEtcdImage - GetAllImages Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
f1e8d8e
to
de39f49
Compare
/test pull-kubernetes-e2e-gce |
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
I'm very frustrated by stuff like this. I feel like we need to abstract our internal data handling, or perhaps when we reach beta this will be less of an issue...
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini, rosti, timothysc 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 |
@timothysc Thanks for the approval.
I am too, but I view this more like the "necessary evil". Abstractions can be cumbersome sometimes and I think that we should first try reaching beta this way (before going into abstractions). |
/test pull-kubernetes-e2e-gce |
/test pull-kubernetes-e2e-kops-aws |
/test pull-kubernetes-e2e-kops-aws |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue (batch tested with PRs 67776, 67503, 67679, 67786, 67830). If you want to cherry-pick this change to another branch, please follow the instructions here. |
What this PR does / why we need it:
This PR is the first in a series, targeting the replacement of InitConfiguration with ClusterConfiguration, when the former is not needed. Please, review only the last commit.
Replace the unnecessary use of InitConfiguration in images.go with ClusterConfiguration. This changes the interfaces of the following functions:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):refs kubernetes/kubeadm#963
Special notes for your reviewer:
/cc @kubernetes/sig-cluster-lifecycle-pr-reviews
/area kubeadm
/kind enhancement
/assign @luxas
/assign @timothysc
/assign @fabriziopandini
Depends on:
Release note: