FEAT(code-server): grant permissions

This commit is contained in:
2025-12-25 01:06:18 +09:00
parent 0dd4f36e85
commit 5c8ab74aed

View File

@@ -50,6 +50,29 @@ extraArgs:
extraVars: extraVars:
- name: TZ - name: TZ
value: "Asia/Seoul" value: "Asia/Seoul"
- name: KUBECONFIG
value: "/host/etc/rancher/k3s/k3s.yaml"
- name: PATH
value: "/host/usr/local/bin:/host/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Mount host paths for kubectl access
extraVolumes:
- name: host-bin
hostPath:
path: /usr/local/bin
type: Directory
- name: host-k3s-config
hostPath:
path: /etc/rancher/k3s
type: Directory
extraVolumeMounts:
- name: host-bin
mountPath: /host/usr/local/bin
readOnly: true
- name: host-k3s-config
mountPath: /host/etc/rancher/k3s
readOnly: true
# Health checks # Health checks
livenessProbe: livenessProbe: