mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-20 14:11:29 -03:30
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 6fe2248314fb319563a60ae023b552371e34e148 Signed-off-by: Etienne Champetier <e.champetier@ateme.com> (cherry picked from commit c9c0c01de019e502b2e73e6fd65e9bf52e063bb6)