From 859265937c9f4a7300137d31c0270fafe78f6e73 Mon Sep 17 00:00:00 2001 From: eshalev Date: Tue, 29 Oct 2024 13:58:49 +0200 Subject: [PATCH] changed sonataflow profile definition from prod to gitops --- scripts/gen_manifests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gen_manifests.sh b/scripts/gen_manifests.sh index e393028f..b5089910 100755 --- a/scripts/gen_manifests.sh +++ b/scripts/gen_manifests.sh @@ -48,7 +48,7 @@ fi # the main sonataflow file will have a prefix of variable number, 01 or 02 and so on, because manifests created by # gen-manifests are now sorted by name. We need to take *-sonataflow-$workflow_id.yaml to resolve that. SONATAFLOW_CR=$(printf '%s' manifests/*-sonataflow_"${workflow_id}".yaml) -yq --inplace eval '.metadata.annotations["sonataflow.org/profile"] = "prod"' "${SONATAFLOW_CR}" +yq --inplace eval '.metadata.annotations["sonataflow.org/profile"] = "gitops"' "${SONATAFLOW_CR}" yq --inplace ".spec.podTemplate.container.image=\"${WORKFLOW_IMAGE_REGISTRY}/${WORKFLOW_IMAGE_NAMESPACE}/${WORKFLOW_IMAGE_REPO}:${WORKFLOW_IMAGE_TAG}\"" "${SONATAFLOW_CR}"