chore: resources definition for initContainer

This commit is contained in:
Kristof Imre Szabo 2022-02-25 13:39:58 +01:00
parent 793e4d35ec
commit 78c765b15b
1 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,10 @@ spec:
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /home/coder mountPath: /home/coder
{{- if .Values.initResources }}
resources:
{{- toYaml .Values.initResources | nindent 10 }}
{{- end }}
{{- if .Values.extraInitContainers }} {{- if .Values.extraInitContainers }}
{{ tpl .Values.extraInitContainers . | indent 6}} {{ tpl .Values.extraInitContainers . | indent 6}}
{{- end }} {{- end }}