Fixed k8s-upgrade-tb.sh
This commit is contained in:
parent
18193a697e
commit
53b240a72b
@ -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;'
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user