c9c0c01de0
Using `kubeadm init phase kubeconfig all` breaks kubelet client certificate rotation
as we are missing `kubeadm init phase kubelet-finalize all` to point to `kubelet-client-current.pem`
kubeconfig format is stable so let's just use lineinfile,
this will avoid other future breakage
This revert to the logic before
|
||
---|---|---|
.. | ||
encrypt-at-rest.yml | ||
kubeadm-certificate.yml | ||
kubeadm-cleanup-old-certs.yml | ||
kubeadm-etcd.yml | ||
kubeadm-fix-apiserver.yml | ||
kubeadm-migrate-certs.yml | ||
kubeadm-secondary.yml | ||
kubeadm-setup.yml | ||
kubeadm-upgrade.yml | ||
kubeadm-version.yml | ||
main.yml | ||
pre-upgrade.yml |