This commit is contained in:
TonyChyi
2022-08-15 08:29:50 +08:00
parent 81cf4d31d1
commit 2ee24134e6
13 changed files with 978 additions and 10 deletions

View File

@@ -69,7 +69,9 @@ extraArgs: []
# rather than two separate arguments (e.g. "- --param value" on a line).
# Optional additional environment variables
extraVars: []
extraVars:
- name: EXTENSIONS_GALLERY
value: '{"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery", "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index", "itemUrl": "https://marketplace.visualstudio.com/items"}'
# - name: DISABLE_TELEMETRY
# value: true
# - name: DOCKER_HOST
@@ -92,17 +94,17 @@ securityContext:
fsGroup: 1000
runAsUser: 1000
resources: {}
resources:
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 1000Mi
limits:
cpu: 500m
memory: 4Gi
requests:
cpu: 100m
memory: 256Mi
nodeSelector: {}
@@ -122,10 +124,10 @@ persistence:
##
# storageClass: "-"
accessMode: ReadWriteOnce
size: 10Gi
size: 50Gi
annotations: {}
# existingClaim: ""
# hostPath: /data
hostPath: /data/code-server
## Enable an Specify container in extraContainers.
## This is meant to allow adding code-server dependencies, like docker-dind.