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

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