diff --git a/docs/release-1.2/move2kube/install_m2k.sh b/docs/release-1.2/move2kube/install_m2k.sh index 12b447f8..2db5ac0f 100755 --- a/docs/release-1.2/move2kube/install_m2k.sh +++ b/docs/release-1.2/move2kube/install_m2k.sh @@ -16,8 +16,16 @@ if [[ -z "${M2K_HELM_REPO}" ]]; then helm repo add orchestrator-workflows https://parodos.dev/serverless-workflows-config fi -TARGET_NS=sonataflow-infra -M2K_INSTANCE_NS=move2kube +if [[ -z "${TARGET_NS}" ]]; then + TARGET_NS=sonataflow-infra + echo 'TARGET_NS env variable not set, using default value: '"${TARGET_NS}" +fi + +if [[ -z "${M2K_INSTANCE_NS}" ]]; then + M2K_INSTANCE_NS=move2kube + echo 'M2K_INSTANCE_NS env variable not set, using default value: '"${M2K_INSTANCE_NS}" +fi + WORKFLOW_NAME=m2k oc patch configmap/config-features \ -n knative-serving \