
配置文件
# Default values for template.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
image:
repository: ghcr.io/linuxserver/code-server
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "v3.10.2-ls81"
secret: {}
# PASSWORD: password
# SUDO_PASSWORD: password
# HASHED_PASSWORD
env:
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
TZ: "America/Los_Angeles"
# PUID: 1000
# PGID: 1000
# PROXY_DOMAIN: code-server.my.domain
service:
port:
port: 8443
ingress:
enabled: true
hosts:
- host: "code-server.192.168.1.203.nip.io"
paths:
- path: /
# Ignored if not kubeVersion >= 1.14-0
pathType: Prefix
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
persistence:
config:
enabled: false
emptyDir: false
mountPath: /config
## Template downloads data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
storageClass: "managed-nfs-storage"
##
## If you want to reuse an existing claim, you can pass the name of the PVC using
## the existingClaim variable
# existingClaim: your-claim
accessMode: ReadWriteOnce
size: 1Gi
## Do not delete the pvc upon helm uninstall
skipuninstall: false