fix(code-server): correctly set the run-as-root things (#2425)

* Update values.yaml

* Update questions.yaml

* Update Chart.yaml
This commit is contained in:
Kjeld Schouten-Lebbing
2022-04-04 20:11:22 +00:00
committed by GitHub
parent 6c0545c6fe
commit 4905118e54
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ name: code-server
sources: sources:
- https://github.com/cdr/code-server - https://github.com/cdr/code-server
type: application type: application
version: 3.0.11 version: 3.0.12
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media
+2 -2
View File
@@ -279,12 +279,12 @@ questions:
label: "Allow Privilege Escalation" label: "Allow Privilege Escalation"
schema: schema:
type: boolean type: boolean
default: false default: true
- variable: runAsNonRoot - variable: runAsNonRoot
label: "runAsNonRoot" label: "runAsNonRoot"
schema: schema:
type: boolean type: boolean
default: false default: true
# Include{securityContextAdvanced} # Include{securityContextAdvanced}
- variable: podSecurityContext - variable: podSecurityContext
+5
View File
@@ -15,6 +15,11 @@ env: {}
securityContext: securityContext:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
allowPrivilegeEscalation: true allowPrivilegeEscalation: true
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
service: service:
main: main: