c12s-kubespray/roles/kubernetes/master
Etienne Champetier 3c8ad073cd Stop using kubeadm to update server in kubeconfigs (#7338)
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 6fe2248314

Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
(cherry picked from commit c9c0c01de0)
2021-03-15 07:07:05 -07:00
..
defaults/main Fixed issue #7112.  Created new API Server vars that replace defunct Controller Manager one (#7114) 2021-01-08 07:20:53 -08:00
handlers Fixed waiting for scheduler and controller manager (#6893) 2020-12-18 07:38:25 -08:00
meta Fix basic auth tokens for kubeadm deployment. (#3801) 2018-12-03 10:44:29 -08:00
tasks Stop using kubeadm to update server in kubeconfigs (#7338) 2021-03-15 07:07:05 -07:00
templates Fixed issue #7112.  Created new API Server vars that replace defunct Controller Manager one (#7114) 2021-01-08 07:20:53 -08:00