Update the k8s config directory in the migration script.

This commit is contained in:
dandds 2019-08-08 12:02:02 -04:00
parent 736e2aa21d
commit d79127f652

View File

@ -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)