From e34bcf382f52f4384a2b595b2d6df12473133196 Mon Sep 17 00:00:00 2001 From: Anatolii Bazko Date: Wed, 14 Jul 2021 17:06:55 +0300 Subject: [PATCH] Update script takes into account CHE_EXPOSURE_STRATEGY env Signed-off-by: Anatolii Bazko --- olm/olm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/olm/olm.sh b/olm/olm.sh index 40b3eb5cf..ee174a73b 100755 --- a/olm/olm.sh +++ b/olm/olm.sh @@ -459,7 +459,7 @@ applyCRCheCluster() { CRs=$(yq -r '.metadata.annotations["alm-examples"]' "${CSV_FILE}") CR=$(echo "$CRs" | yq -r ".[0]") CR=$(echo "$CR" | yq -r ".spec.devWorkspace.enable = ${DEV_WORKSPACE_ENABLE:-false}") - CR=$(echo "$CR" | yq -r ".spec.server.serverExposureStrategy = ${CHE_EXPOSURE_STRATEGY}") + CR=$(echo "$CR" | yq -r ".spec.server.serverExposureStrategy = \"${CHE_EXPOSURE_STRATEGY:-multi-host}\"") if [ "${platform}" == "kubernetes" ] then CR=$(echo "$CR" | yq -r ".spec.k8s.ingressDomain = \"$(minikube ip).nip.io\"")