diff --git a/deploy/charts/webshell/Chart.yaml b/deploy/charts/webshell/Chart.yaml index 9bde52e..21e0897 100644 --- a/deploy/charts/webshell/Chart.yaml +++ b/deploy/charts/webshell/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: webshell description: A Helm chart to deploy a webshell environment type: application -version: 0.4.4 -appVersion: "0.4.4" +version: 0.4.5 +appVersion: "0.4.5" diff --git a/deploy/charts/webshell/templates/deployment.yaml b/deploy/charts/webshell/templates/deployment.yaml index a90414a..d56fdda 100644 --- a/deploy/charts/webshell/templates/deployment.yaml +++ b/deploy/charts/webshell/templates/deployment.yaml @@ -47,7 +47,9 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} env: - name: USER - value: "{{ .Values.user }}" + value: {{ .Values.user }} + - name: THEIA_WEBVIEW_EXTERNAL_ENDPOINT + value: {{ .Values.theia.webview_url }} ports: - name: web containerPort: 3000 diff --git a/deploy/charts/webshell/values.yaml b/deploy/charts/webshell/values.yaml index c4f4c7e..72eca24 100644 --- a/deploy/charts/webshell/values.yaml +++ b/deploy/charts/webshell/values.yaml @@ -11,6 +11,7 @@ image: pullPolicy: IfNotPresent theia: + webview_url: "{{uuid}}.webview.{{hostname}}" image: repository: quay.io/acend/theia # Overrides the image tag whose default is the chart appVersion.