Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
pull/731/head
Flavius Lacatusu 2021-04-08 12:40:55 +02:00
parent d0b919e001
commit 5f6534b710
No known key found for this signature in database
GPG Key ID: 3C0A7685C14681A8
3 changed files with 3 additions and 3 deletions

View File

@ -243,7 +243,7 @@ setServerExposureStrategy() {
enableDevWorkspace() {
local file="${1}/che-operator/crds/org_v1_che_cr.yaml"
yq -rSY '.spec.devworkspace.enable = "${2}"' $file > /tmp/tmp.yaml && mv /tmp/tmp.yaml ${file}
yq -rSY '.spec.devWorkspace.enable = '${2}'' $file > /tmp/tmp.yaml && mv /tmp/tmp.yaml ${file}
}
setSingleHostExposureType() {

View File

@ -25,7 +25,7 @@ trap "catchFinish" EXIT SIGINT
prepareTemplates() {
disableUpdateAdminPassword ${TEMPLATES}
setCustomOperatorImage ${TEMPLATES} ${OPERATOR_IMAGE}
# Enabling by default devworkspace che operator automatically choose `single-host` strategy
setServerExposureStrategy ${TEMPLATES} "single-host"
enableDevWorkspace ${TEMPLATES} true
setSingleHostExposureType ${TEMPLATES} "gateway"
setIngressDomain ${TEMPLATES} "$(minikube ip).nip.io"

View File

@ -24,7 +24,7 @@ trap "catchFinish" EXIT SIGINT
prepareTemplates() {
disableUpdateAdminPassword ${TEMPLATES}
setCustomOperatorImage ${TEMPLATES} ${OPERATOR_IMAGE}
# Enabling by default devworkspace che operator automatically choose `single-host` strategy
setServerExposureStrategy ${TEMPLATES} "single-host"
enableDevWorkspace ${TEMPLATES} true
setSingleHostExposureType ${TEMPLATES} "native"
setIngressDomain ${TEMPLATES} "$(minikube ip).nip.io"