Browse Source
Fix k8s-certs-renew cp path (#7992)
Signed-off-by: Wang Zhen <lazybetrayer@gmail.com>
pull/7998/head
Wang Zhen
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
roles/kubernetes/control-plane/templates/k8s-certs-renew.sh.j2
|
@ -14,7 +14,7 @@ echo "## Restarting control plane pods managed by kubeadm ##" |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
|
|
|
|
|
|
echo "## Updating /root/.kube/config ##" |
|
|
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 ##" |
|
|
echo "## Waiting for apiserver to be up again ##" |
|
|
until printf "" 2>>/dev/null >>/dev/tcp/127.0.0.1/6443; do sleep 1; done |
|
|
until printf "" 2>>/dev/null >>/dev/tcp/127.0.0.1/6443; do sleep 1; done |
|
|