diff --git a/charts/stable/code-server/Chart.yaml b/charts/stable/code-server/Chart.yaml index a5303202893..b463c88a4c7 100644 --- a/charts/stable/code-server/Chart.yaml +++ b/charts/stable/code-server/Chart.yaml @@ -21,7 +21,7 @@ name: code-server sources: - https://github.com/cdr/code-server type: application -version: 2.0.20 +version: 2.1.0 annotations: truecharts.org/catagories: | - media diff --git a/charts/stable/code-server/questions.yaml b/charts/stable/code-server/questions.yaml index d144192821b..60333aedf17 100644 --- a/charts/stable/code-server/questions.yaml +++ b/charts/stable/code-server/questions.yaml @@ -183,9 +183,9 @@ questions: schema: type: dict attrs: - - variable: data - label: "App Data Storage" - description: "Stores the Application Data." + - variable: config + label: "App Config Storage" + description: "Stores the Application Config." schema: type: dict attrs: @@ -224,7 +224,7 @@ questions: description: "Path inside the container the storage is mounted" schema: type: string - default: "/home/coder" + default: "/config" hidden: true valid_chars: '^\/([a-zA-Z0-9._-]+(\s?[a-zA-Z0-9._-]+|\/?))+$' - variable: medium diff --git a/charts/stable/code-server/values.yaml b/charts/stable/code-server/values.yaml index 4a0c75a0fe1..2cafd555038 100644 --- a/charts/stable/code-server/values.yaml +++ b/charts/stable/code-server/values.yaml @@ -3,22 +3,18 @@ image: pullPolicy: IfNotPresent tag: v3.12.0@sha256:2853a8bdd8eed9c09bcd4b100b9d4be20c42a307b9d1cbae1a204276e948f9ce -# PASSWORD: password -# SUDO_PASSWORD: password -# HASHED_PASSWORD +args: + - --user-data-dir + - "/config/.vscode" + - --auth + - none -env: - PUID: 568 - DOCKER_USER: "$USER" +env: {} # PROXY_DOMAIN: code-server.my.domain securityContext: readOnlyRootFilesystem: false - runAsNonRoot: false - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 + allowPrivilegeEscalation: true service: main: @@ -28,8 +24,6 @@ service: targetPort: 8080 persistence: - data: - enabled: true - mountPath: "/home/coder" - varrun: + config: enabled: true + mountPath: "/config"