Skip to content

Commit

Permalink
Fix k8s-certs-renew cp path (kubernetes-sigs#7992)
Browse files Browse the repository at this point in the history
Signed-off-by: Wang Zhen <[email protected]>
  • Loading branch information
lazybetrayer authored and rtsp committed Sep 23, 2021
1 parent 3137e55 commit 6b4ccd0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ echo "## Restarting control plane pods managed by kubeadm ##"
{% endif %}

echo "## Updating /root/.kube/config ##"
/usr/bin/cp {{ kube_config_dir }}/admin.conf /root/.kube/config
cp {{ kube_config_dir }}/admin.conf /root/.kube/config

echo "## Waiting for apiserver to be up again ##"
until printf "" 2>>/dev/null >>/dev/tcp/127.0.0.1/6443; do sleep 1; done
Expand Down

0 comments on commit 6b4ccd0

Please sign in to comment.