Update the k8s config directory in the migration script.
This commit is contained in:
parent
736e2aa21d
commit
d79127f652
@ -11,7 +11,7 @@ if [ -z "${MIGRATION_TIMEOUT+is_set}" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Creating job..."
|
echo "Creating job..."
|
||||||
envsubst < k8s/shared/migration.yaml | $K8S_CMD -n atat apply -f -
|
envsubst < deploy/shared/migration.yaml | $K8S_CMD -n atat apply -f -
|
||||||
|
|
||||||
echo "Wait for job to finish or timeout..."
|
echo "Wait for job to finish or timeout..."
|
||||||
JOB_SUCCESS=$(${K8S_CMD} -n atat wait --for=condition=complete --timeout=${MIGRATION_TIMEOUT} job/migration)
|
JOB_SUCCESS=$(${K8S_CMD} -n atat wait --for=condition=complete --timeout=${MIGRATION_TIMEOUT} job/migration)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user