fix(openvscode): Use CONNECTION_TOKEN on portal button (#1666)

* fix(openvscode): Use `CONNECTION_TOKEN` on portal button

* adjust env's

* bump

* correct reference
This commit is contained in:
Stavros Kois
2022-02-08 14:28:12 +02:00
committed by GitHub
parent b850a260ac
commit 31746f46e3
2 changed files with 5 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: openvscode-server
version: 0.0.22
version: 0.0.23
appVersion: "1.63.2"
description: Openvscode-server provides a version of VS Code that runs a server on a remote machine.
type: application

View File

@@ -3,6 +3,9 @@ image:
pullPolicy: IfNotPresent
tag: v1.63.2
portal:
path: "/?tkn={{ .Values.secret.CONNECTION_TOKEN }}"
securityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false
@@ -12,8 +15,7 @@ podSecurityContext:
runAsGroup: 0
secret:
# CONNECTION_TOKEN: "" (Optional)
# SUDO_PASSWORD: "" (Optional)
CONNECTION_TOKEN: "somerandomstring"
env:
PUID: 568