mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* [stable/mysql] add option to run sql script post container start - add ConfigMap for sql initialization files - mount initialization files to /docker-entrypoint-initdb.d if present * update README to reflect initdb filetypes and startup behaviour * increase chart version * increase minor version, fix typo * split configmap into seperate files
11 lines
257 B
YAML
11 lines
257 B
YAML
{{- if .Values.initializationFiles }}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ template "mysql.fullname" . }}-initialization
|
|
data:
|
|
{{- range $key, $val := .Values.initializationFiles }}
|
|
{{ $key }}: |-
|
|
{{ $val | indent 4}}
|
|
{{- end }}
|
|
{{- end -}} |