#!/usr/bin/env bash
set -e
KUBE_CONTEXT=$1
ROOT=$(dirname "$0")
HELM_DIR="$ROOT/../helm_deploy/cla-backend-migration/"

kubectl config use-context $KUBE_CONTEXT
helm upgrade cla-backend-migration \
  $HELM_DIR \
  --install \
  --force \
  --debug

#!/usr/bin/env bash
set -e
NAMESPACE=$1
ROOT=$(dirname "$0")
HELM_DIR="$ROOT/../../helm_deploy/cla-backend-migration/"

helm upgrade cla-backend-migration \
  $HELM_DIR \
  --namespace $NAMESPACE \
  --install \
  --force \
  --debug

Update deploy database migration script to pass namespace
Update deploy database migration script to pass namespace
