Fixed k8s-upgrade-tb.sh

This commit is contained in:
viktor 2020-05-27 15:22:48 +03:00
parent 18193a697e
commit 53b240a72b

View File

@ -36,7 +36,7 @@ else
fromVersion="${FROM_VERSION// }" fromVersion="${FROM_VERSION// }"
fi fi
kubectl apply -f database-setup.yml && kubectl apply -f common/database-setup.yml &&
kubectl wait --for=condition=Ready pod/tb-db-setup --timeout=120s && kubectl wait --for=condition=Ready pod/tb-db-setup --timeout=120s &&
kubectl exec tb-db-setup -- sh -c 'export UPGRADE_TB=true; export FROM_VERSION='"$fromVersion"'; start-tb-node.sh; touch /tmp/install-finished;' kubectl exec tb-db-setup -- sh -c 'export UPGRADE_TB=true; export FROM_VERSION='"$fromVersion"'; start-tb-node.sh; touch /tmp/install-finished;'