parent
d0b919e001
commit
5f6534b710
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue