File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 4242 args :
4343 - -c
4444 - >-
45- mkdir -p {{ .Values.tempfolder }} &&
4645 chown "{{ .Values.userid }}:{{ .Values.groupid }}" /home/clowder/data {{ .Values.tempfolder }}
4746 securityContext :
4847 runAsUser : 0
5453 {{- . | toYaml | nindent 10 }}
5554 {{- end }}
5655{{- end }}
56+ - name : create-tmp-folder
57+ image : busybox:latest
58+ command : ["/bin/sh"]
59+ args :
60+ - -c
61+ - >-
62+ mkdir -p {{ .Values.tempfolder }}
63+ volumeMounts :
64+ - name : data
65+ mountPath : /home/clowder/data
66+ {{- with .Values.extraVolumeMounts }}
67+ {{- . | toYaml | nindent 10 }}
68+ {{- end }}
5769 containers :
5870 - name : {{ .Chart.Name }}
5971 image : " {{ .Values.image.repository }}/{{ .Values.image.name }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
You can’t perform that action at this time.
0 commit comments