Skip to content

Commit

Permalink
Fix k8s-certs-renew cp path
Browse files Browse the repository at this point in the history
Signed-off-by: Wang Zhen <[email protected]>
  • Loading branch information
lazybetrayer committed Sep 20, 2021
1 parent 6f79112 commit 79d7232
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
/bin/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 79d7232

Please sign in to comment.