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 apiVersion: v2
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
name: openvscode-server name: openvscode-server
version: 1.0.11 version: 1.0.12
appVersion: "1.66.0" appVersion: "1.66.0"
description: Openvscode-server provides a version of VS Code that runs a server on a remote machine. description: Openvscode-server provides a version of VS Code that runs a server on a remote machine.
type: application type: application
@@ -84,13 +84,20 @@ questions:
attrs: attrs:
- variable: CONNECTION_TOKEN - variable: CONNECTION_TOKEN
label: "CONNECTION_TOKEN" label: "CONNECTION_TOKEN"
description: "Optional security token for accessing the Web UI (ie. supersecrettoken)."
schema: schema:
type: string type: string
private: true 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: "" default: ""
- variable: SUDO_PASSWORD - variable: SUDO_PASSWORD
label: "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: schema:
type: string type: string
private: true private: true
+4 -4
View File
@@ -3,8 +3,8 @@ image:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: v1.66.0 tag: v1.66.0
portal: # portal:
path: "/?tkn={{ .Values.secret.CONNECTION_TOKEN }}" # path: "/?tkn={{ .Values.secret.CONNECTION_TOKEN }}"
securityContext: securityContext:
runAsNonRoot: false runAsNonRoot: false
@@ -14,8 +14,8 @@ podSecurityContext:
runAsUser: 0 runAsUser: 0
runAsGroup: 0 runAsGroup: 0
secret: secret: {}
CONNECTION_TOKEN: "somerandomstring" # CONNECTION_TOKEN: "somerandomstring"
service: service:
main: main: