c12s-kubespray/roles/kubernetes
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
..
client Fix warning of mkdir usage (#6951) 2020-12-09 07:14:51 -08:00
kubeadm Only use stat get_checksum: yes when needed (#7270) 2021-03-15 07:07:05 -07:00
master Stop using kubeadm to update server in kubeconfigs (#7338) 2021-03-15 07:07:05 -07:00
node Only use stat get_checksum: yes when needed (#7270) 2021-03-15 07:07:05 -07:00
node-label/tasks Fix setting node label if kube_override_hostname is defined (#6557) 2020-08-20 06:23:30 -07:00
preinstall Add kube-ipvs0/nodelocaldns to NetworkManager unmanaged-devices (#7315) 2021-03-15 07:07:05 -07:00
tokens Only use stat get_checksum: yes when needed (#7270) 2021-03-15 07:07:05 -07:00