fix(helm): Use import_datasources.yaml, if it exists (#14704)
This commit is contained in:
parent
cd0e03a57f
commit
19486780a2
|
|
@ -22,7 +22,7 @@ maintainers:
|
|||
- name: craig-rueda
|
||||
email: craig@craigrueda.com
|
||||
url: https://github.com/craig-rueda
|
||||
version: 0.1.5
|
||||
version: 0.1.6
|
||||
dependencies:
|
||||
- name: postgresql
|
||||
version: 10.2.0
|
||||
|
|
|
|||
|
|
@ -299,6 +299,10 @@ init:
|
|||
echo "Loading examples..."
|
||||
superset load_examples
|
||||
{{- end }}
|
||||
if [ -f "{{ .Values.extraConfigMountPath }}/import_datasources.yaml" ]; then
|
||||
echo "Importing database connections.... "
|
||||
superset import_datasources -p {{ .Values.extraConfigMountPath }}/import_datasources.yaml
|
||||
fi
|
||||
##
|
||||
## Configuration values for the postgresql dependency.
|
||||
## ref: https://github.com/kubernetes/charts/blob/master/stable/postgresql/README.md
|
||||
|
|
|
|||
Loading…
Reference in New Issue