From 23b5a8039156f3f16e204bdb28bffbc1e442d880 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Thu, 21 Apr 2022 11:01:02 -0600 Subject: [PATCH] Fix paths in deploy-migrations script --- script/deploy-migration | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/deploy-migration b/script/deploy-migration index 2ecc7d373b..81a662db88 100755 --- a/script/deploy-migration +++ b/script/deploy-migration @@ -16,7 +16,7 @@ if [[ $# < 1 ]]; then fi export ZED_KUBE_NAMESPACE=$1 -ENV_FILE="server/k8s/environments/${ZED_KUBE_NAMESPACE}.sh" +ENV_FILE="crates/collab/k8s/environments/${ZED_KUBE_NAMESPACE}.sh" if [[ ! -f $ENV_FILE ]]; then echo "Invalid environment name '${ZED_KUBE_NAMESPACE}'" exit 1 @@ -36,7 +36,7 @@ docker build . \ --tag $ZED_IMAGE_ID docker push $ZED_IMAGE_ID -envsubst < server/k8s/migrate.template.yml | kubectl apply -f - +envsubst < crates/collab/k8s/migrate.template.yml | kubectl apply -f - pod=$(kubectl --namespace=${ZED_KUBE_NAMESPACE} get pods --selector=job-name=${ZED_MIGRATE_JOB_NAME} --output=jsonpath='{.items[*].metadata.name}') echo "pod:" $pod