chore(openvsvode-server): make connectionToken optional as it changed upstream (#2428)

This commit is contained in:
Stavros Kois
2022-04-05 10:22:23 +02:00
committed by GitHub
parent e21addea4b
commit 31789854ce
3 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: openvscode-server
version: 1.0.11
version: 1.0.12
appVersion: "1.66.0"
description: Openvscode-server provides a version of VS Code that runs a server on a remote machine.
type: application
@@ -84,13 +84,20 @@ questions:
attrs:
- variable: CONNECTION_TOKEN
label: "CONNECTION_TOKEN"
description: "Optional security token for accessing the Web UI (ie. supersecrettoken)."
schema:
type: string
private: true
required: true
default: ""
- variable: CONNECTION_SECRET
label: "CONNECTION_SECRET"
description: "Optional path to a file inside the container that contains the security token for accessing the Web UI (ie. /path/to/file). Overrides CONNECTION_TOKEN."
schema:
type: string
default: ""
- variable: SUDO_PASSWORD
label: "SUDO_PASSWORD"
description: "If this optional variable is set, user will have sudo access in the openvscode-server terminal with the specified password."
schema:
type: string
private: true
+4 -4
View File
@@ -3,8 +3,8 @@ image:
pullPolicy: IfNotPresent
tag: v1.66.0
portal:
path: "/?tkn={{ .Values.secret.CONNECTION_TOKEN }}"
# portal:
# path: "/?tkn={{ .Values.secret.CONNECTION_TOKEN }}"
securityContext:
runAsNonRoot: false
@@ -14,8 +14,8 @@ podSecurityContext:
runAsUser: 0
runAsGroup: 0
secret:
CONNECTION_TOKEN: "somerandomstring"
secret: {}
# CONNECTION_TOKEN: "somerandomstring"
service:
main: