Skip to content

Commit

Permalink
Fix M2K install script
Browse files Browse the repository at this point in the history
Signed-off-by: gabriel-farache <[email protected]>
  • Loading branch information
gabriel-farache committed Dec 9, 2024
1 parent 1f3f91c commit 42f90f1
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/release-1.2/move2kube/install_m2k.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 42f90f1

Please sign in to comment.