mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-09 08:46:54 +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[@]}
|
||||
do
|
||||
kubectl set image deployment controller-${c} ztcentral-controller=gcr.io/zerotier-central/ztcentral-controller:${TAG}
|
||||
echo "Sleeping for 1 minute"
|
||||
sleep 60
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue