Skip to content
Snippets Groups Projects
Unverified Commit 22115047 authored by Wang Zhen's avatar Wang Zhen Committed by GitHub
Browse files

Fix k8s-certs-renew cp path (#7992)

parent fb8662ec
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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