Render template values inside initDbScripts (#8368)

This commit is contained in:
Adrian Jutrowski
2021-12-10 15:46:04 +01:00
committed by GitHub
parent 97ba2734be
commit 73ae0077e7
2 changed files with 2 additions and 4 deletions

View File

@@ -26,4 +26,4 @@ name: postgresql
sources:
- https://github.com/bitnami/bitnami-docker-postgresql
- https://www.postgresql.org/
version: 10.13.13
version: 10.13.14

View File

@@ -22,7 +22,5 @@ data:
{{- with .Files.Glob "files/docker-entrypoint-initdb.d/*.{sh,sql}" }}
{{ .AsConfig | indent 2 }}
{{- end }}
{{- with .Values.initdbScripts }}
{{ toYaml . | indent 2 }}
{{- end }}
{{- include "common.tplvalues.render" (dict "value" .Values.initdbScripts "context" .) | nindent 2 }}
{{- end }}