We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ed1a15 commit ceb759dCopy full SHA for ceb759d
deployment/chart/templates/deployment.yaml
@@ -24,6 +24,15 @@ spec:
24
{{- if .Values.hostnameOverride }}
25
hostname: {{ .Values.hostnameOverride }}
26
{{- end }}
27
+ initContainers:
28
+ - name: permissions
29
+ image: busybox:latest
30
+ imagePullPolicy: IfNotPresent
31
+ command: ["/bin/sh"]
32
+ args: ["-c", "chown -R 1000:1000 /home/coder"]
33
+ volumeMounts:
34
+ - name: data
35
+ mountPath: /home/coder
36
containers:
37
- name: {{ .Chart.Name }}
38
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
0 commit comments