-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Renew certificates as part of upgrade rather than recreating them #68749
Conversation
/cc @detiber can you see if this fixes your issue? |
Supersedes #68485 |
/test pull-kubernetes-integration |
/kind bug |
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.
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.
Thanks @liztio for this fix!
/approve
tested with success upgrade from v1.11.3 to v1.12.0-beta.2; etcd certs get renewed (apiserver-etcd-client, healthcheck-client, peer, server)!
@kubernetes/sig-release-members @tpepper We'd ideally like to get this in before RC. |
Actively testing this now. |
Verified this resolves the issue I was hitting testing HA stacked control plane upgrades. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: detiber, fabriziopandini, liztio, 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 |
Should be in RC given tide merge trajectory and RC timing later today, will watch that it's merged by then. |
/test pull-kubernetes-integration |
What this PR does / why we need it:
Right now the static pod upgrade process is broken. It incorrectly attempts to create new certificates rather than just renewing the existing certificates.
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 kubernetes/kubeadm#1104
Special notes for your reviewer:
Release note: