FEAT(code-server): grant permissions
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user