Skip to content
Unverified Commit c9c0c01d authored by Etienne Champetier's avatar Etienne Champetier Committed by GitHub
Browse files

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 6fe22483

Signed-off-by: default avatarEtienne Champetier <e.champetier@ateme.com>
parent e442b1d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment