mirror of
https://ghproxy.com/https://github.com/truecharts/charts.git
synced 2026-07-17 10:10:27 +08:00
fix(openvscode-server): allow rootfs access, make token required (#1611)
* fix(openvscode-server): allow rootfs access, make token required * doesn't work like that
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: v2
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
name: openvscode-server
|
||||
version: 0.0.11
|
||||
version: 0.0.12
|
||||
appVersion: "1.63.2"
|
||||
description: Openvscode-server provides a version of VS Code that runs a server on a remote machine.
|
||||
type: application
|
||||
|
||||
@@ -85,6 +85,7 @@ questions:
|
||||
schema:
|
||||
type: string
|
||||
private: true
|
||||
required: true
|
||||
default: ""
|
||||
- variable: SUDO_PASSWORD
|
||||
label: "SUDO_PASSWORD"
|
||||
@@ -99,7 +100,13 @@ questions:
|
||||
type: dict
|
||||
attrs:
|
||||
# Include{fixedEnv}
|
||||
|
||||
- variable: PUID
|
||||
label: "PUID"
|
||||
description: "Sets the PUID env var"
|
||||
schema:
|
||||
type: int
|
||||
required: true
|
||||
default: 568
|
||||
# Include{containerConfig}
|
||||
|
||||
- variable: service
|
||||
@@ -280,7 +287,7 @@ questions:
|
||||
label: "ReadOnly Root Filesystem"
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
default: false
|
||||
- variable: allowPrivilegeEscalation
|
||||
label: "Allow Privilege Escalation"
|
||||
schema:
|
||||
|
||||
@@ -5,6 +5,7 @@ image:
|
||||
|
||||
securityContext:
|
||||
runAsNonRoot: false
|
||||
readOnlyRootFilesystem: false
|
||||
|
||||
podSecurityContext:
|
||||
runAsUser: 0
|
||||
|
||||
Reference in New Issue
Block a user