feat: Add support for initContainers

This commit is contained in:
Kaiwalya Joshi
2022-08-03 12:21:36 -07:00
parent 90db4b5a44
commit 6e9d39ac72
6 changed files with 42 additions and 7 deletions

View File

@@ -39,6 +39,10 @@ spec:
priorityClassName: {{ .Values.s3.priorityClassName | quote }}
{{- end }}
enableServiceLinks: false
{{- if .Values.s3.initContainers }}
initContainers:
{{ tpl .Values.s3.initContainers . | nindent 8 | trim }}
{{- end }}
containers:
- name: seaweedfs
image: {{ template "s3.image" . }}