Regenerate API server serving certificates when upgrading to v1.9 #548
Labels
area/releasing
area/security
area/upgrades
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone
As kubeadm went beta in v1.6 (March 2016), we have supported upgrading clusters since, and the API server serving certs are valid for one year, we now have to add support for refreshing the API server serving certs when upgrading.
Otherwise we risk having invalid certs at the time v1.10 is released (might be before or after, and consumers might take some time to upgrade to v1.10)
What we basically need to do is nothing else than backing up
/etc/kubernetes/pki/apiserver.{crt,key}
to an expired directory or something like that, and invokingkubeadm alpha phase certs apiserver
internally, just generating the API server serving cert again incmd/kubeadm/app/phases/upgrade/postupgrade.go
The text was updated successfully, but these errors were encountered: