-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
✨Upgrade CoreDNS image info during KCP reconcile #2574
✨Upgrade CoreDNS image info during KCP reconcile #2574
Conversation
controlplane/kubeadm/controllers/kubeadm_control_plane_controller.go
Outdated
Show resolved
Hide resolved
431def1
to
eb7b1f1
Compare
Did an initial review. No additional comments beyond what Vince already wrote. Looking forward to seeing the Corefile migration code! |
cm: &corev1.ConfigMap{Data: map[string]string{}}, | ||
expectErr: true, | ||
}, | ||
} |
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.
Could we add a test for "does not set imageRepository or imageTag in the config map if they aren't specified in the KubeadmConfig"?
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.
Do you mean that if the imageRepo and imageTag are not defined in the ClusterConfig, then don't set them?
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.
Yeah – I assume that's enough to signal to kubeadm not to muck with the CoreDNS deployment (which is what I'm really after).
/milestone v0.3.0 |
72562cc
to
1bdac44
Compare
/cc |
@rajansandeep: GitHub didn't allow me to request PR reviews from the following users: rajansandeep. Note that only kubernetes-sigs members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
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. |
controlplane/kubeadm/controllers/kubeadm_control_plane_controller.go
Outdated
Show resolved
Hide resolved
controlplane/kubeadm/controllers/kubeadm_control_plane_controller.go
Outdated
Show resolved
Hide resolved
controlplane/kubeadm/controllers/kubeadm_control_plane_controller.go
Outdated
Show resolved
Hide resolved
controlplane/kubeadm/controllers/kubeadm_control_plane_controller.go
Outdated
Show resolved
Hide resolved
controlplane/kubeadm/controllers/kubeadm_control_plane_controller.go
Outdated
Show resolved
Hide resolved
controlplane/kubeadm/controllers/kubeadm_control_plane_controller.go
Outdated
Show resolved
Hide resolved
Hey folks, we took some time this afternoon to refactor code around and make sure to double-check the logic. I resolved most of the earlier comments, if you can all do another pass that'd be great. We'll need to do an e2e test pass before this can be merged |
controlplane/kubeadm/controllers/kubeadm_control_plane_controller.go
Outdated
Show resolved
Hide resolved
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.
ac5a2eb
to
b8464ae
Compare
b8464ae
to
9b2d4bb
Compare
Current changes lgtm |
/lgtm |
9b2d4bb
to
af66cea
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vincepri, wfernandes 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 |
@detiber need another 👀 |
/lgtm |
What this PR does / why we need it:
This PR does what the corresponding issues asks 🙂
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 #2545