Skip to content

Commit

Permalink
add THEIA_WEBVIEW_EXTERNAL_ENDPOINT env + new ingress for that
Browse files Browse the repository at this point in the history
  • Loading branch information
splattner committed Sep 4, 2023
1 parent ef745f9 commit 5a6e0e7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deploy/charts/webshell/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 3 additions & 1 deletion deploy/charts/webshell/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions deploy/charts/webshell/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5a6e0e7

Please sign in to comment.