All checks were successful
lint-and-test-charts / lint-test (pull_request) Successful in 35s
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
code-server:
|
|
controllers:
|
|
main:
|
|
type: deployment
|
|
replicas: 1
|
|
strategy: Recreate
|
|
revisionHistoryLimit: 3
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: ghcr.io/linuxserver/code-server
|
|
tag: 4.100.2@sha256:c5e2bcd6c95f804e636a3cc82c7d693a4d9d1f7a2d8d34dd3cc115fe697dac60
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: TZ
|
|
value: US/Central
|
|
- name: PUID
|
|
value: 1000
|
|
- name: PGID
|
|
value: 1000
|
|
- name: DEFAULT_WORKSPACE
|
|
value: /config
|
|
envFrom:
|
|
- secretRef:
|
|
name: codeserver-password-secret
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 128Mi
|
|
service:
|
|
main:
|
|
controller: main
|
|
ports:
|
|
http:
|
|
port: 8443
|
|
targetPort: 8443
|
|
protocol: HTTP
|
|
persistence:
|
|
config:
|
|
existingClaim: code-server-nfs-storage
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /config
|
|
readOnly: false
|
|
cloudflared:
|
|
existingSecretName: code-server-cloudflared-secret
|