mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
sleep 60 seconds between deployments
This commit is contained in:
parent
4a89729529
commit
e23d95bf03
1 changed files with 2 additions and 0 deletions
|
@ -13,4 +13,6 @@ CONTROLLERS=`kubectl get pods -o=name | grep controller | sed "s/^.\{4\}//" | cu
|
||||||
for c in ${CONTROLLERS[@]}
|
for c in ${CONTROLLERS[@]}
|
||||||
do
|
do
|
||||||
kubectl set image deployment controller-${c} ztcentral-controller=gcr.io/zerotier-central/ztcentral-controller:${TAG}
|
kubectl set image deployment controller-${c} ztcentral-controller=gcr.io/zerotier-central/ztcentral-controller:${TAG}
|
||||||
|
echo "Sleeping for 1 minute"
|
||||||
|
sleep 60
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue