1 {{ if (.Files.Glob "files/docker-entrypoint-initdb.d/*[sh|js|json]") }}
5 name: {{ template "mongodb.fullname" . }}-init-scripts
6 namespace: {{.Values.namespace }}
8 app: {{ template "mongodb.name" . }}
9 chart: {{ template "mongodb.chart" . }}
10 release: {{ .Release.Name | quote }}
11 heritage: {{ .Release.Service | quote }}
13 {{ tpl (.Files.Glob "files/docker-entrypoint-initdb.d/*[sh|js|json]").AsConfig . | indent 2 }}