@@ -6,7 +6,7 @@ replicaCount: 1
66
77image :
88 repository : codercom/code-server
9- tag : ' 4.9.1 '
9+ tag : ' 4.103.2 '
1010 pullPolicy : Always
1111
1212# Specifies one or more secrets to be used when pulling images from a
@@ -19,6 +19,9 @@ nameOverride: ""
1919fullnameOverride : " "
2020hostnameOverride : " "
2121
22+ # The existing secret to use for code-server authentication in the frontend. the password is stored in the secret under the key `password`
23+ # existingSecret: ""
24+
2225serviceAccount :
2326 # Specifies whether a service account should be created
2427 create : true
@@ -71,9 +74,10 @@ extraArgs: []
7174# Optional additional environment variables
7275extraVars : []
7376# - name: DISABLE_TELEMETRY
74- # value: true
77+ # value: "true"
78+ # if dind is desired:
7579# - name: DOCKER_HOST
76- # value: "tcp://localhost:2375 "
80+ # value: "tcp://localhost:2376 "
7781
7882# #
7983# # Init containers parameters:
@@ -136,25 +140,39 @@ lifecycle:
136140 # - -c
137141 # - curl -s -L SOME_SCRIPT | bash
138142
143+ # for dind, the following may be helpful
144+ # postStart:
145+ # exec:
146+ # command:
147+ # - /bin/sh
148+ # - -c
149+ # - |
150+ # sudo apt-get update \
151+ # && sudo apt-get install -y docker.io
152+
139153# # Enable an Specify container in extraContainers.
140154# # This is meant to allow adding code-server dependencies, like docker-dind.
141155extraContainers : |
142156# If docker-dind is used, DOCKER_HOST env is mandatory to set in "extraVars"
143- # - name: docker-dind
144- # image: docker:19.03-dind
145- # imagePullPolicy: IfNotPresent
146- # resources:
147- # requests:
148- # cpu: 250m
149- # memory: 256M
150- # securityContext:
151- # privileged: true
152- # procMount: Default
153- # env:
154- # - name: DOCKER_TLS_CERTDIR
155- # value: ""
156- # - name: DOCKER_DRIVER
157- # value: "overlay2"
157+ # - name: docker-dind
158+ # image: docker:28.3.2-dind
159+ # imagePullPolicy: IfNotPresent
160+ # resources:
161+ # requests:
162+ # cpu: 1
163+ # ephemeral-storage: "50Gi"
164+ # memory: 10Gi
165+ # securityContext:
166+ # privileged: true
167+ # procMount: Default
168+ # env:
169+ # - name: DOCKER_TLS_CERTDIR
170+ # value: "" # disable TLS setup
171+ # command:
172+ # - dockerd
173+ # - --host=unix:///var/run/docker.sock
174+ # - --host=tcp://0.0.0.0:2376
175+
158176
159177extraInitContainers : |
160178# - name: customization
@@ -179,6 +197,7 @@ extraInitContainers: |
179197extraSecretMounts : []
180198 # - name: secret-files
181199 # mountPath: /etc/secrets
200+ # subPath: private.key # (optional)
182201 # secretName: code-server-secret-files
183202 # readOnly: true
184203
@@ -189,10 +208,16 @@ extraVolumeMounts: []
189208 # readOnly: true
190209 # existingClaim: volume-claim
191210 # hostPath: ""
211+ # emptyDir: {}
192212
193213extraConfigmapMounts : []
194214 # - name: certs-configmap
195215 # mountPath: /etc/code-server/ssl/
196216 # subPath: certificates.crt # (optional)
197217 # configMap: certs-configmap
198218 # readOnly: true
219+
220+ extraPorts : []
221+ # - name: minecraft
222+ # port: 25565
223+ # protocol: tcp
0 commit comments