Skip to content

Commit

Permalink
Fix k8s-certs-renew cp path (#7992)
Browse files Browse the repository at this point in the history
Signed-off-by: Wang Zhen <lazybetrayer@gmail.com>
  • Loading branch information
lazybetrayer committed Sep 21, 2021
1 parent fb8662e commit 2211504
Showing 1 changed file with 1 addition and 1 deletion.
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 2211504

Please sign in to comment.