mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
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
|
- name: craig-rueda
|
||||||
email: craig@craigrueda.com
|
email: craig@craigrueda.com
|
||||||
url: https://github.com/craig-rueda
|
url: https://github.com/craig-rueda
|
||||||
version: 0.1.5
|
version: 0.1.6
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: postgresql
|
- name: postgresql
|
||||||
version: 10.2.0
|
version: 10.2.0
|
||||||
|
@ -299,6 +299,10 @@ init:
|
|||||||
echo "Loading examples..."
|
echo "Loading examples..."
|
||||||
superset load_examples
|
superset load_examples
|
||||||
{{- end }}
|
{{- 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.
|
## Configuration values for the postgresql dependency.
|
||||||
## ref: https://github.com/kubernetes/charts/blob/master/stable/postgresql/README.md
|
## ref: https://github.com/kubernetes/charts/blob/master/stable/postgresql/README.md
|
||||||
|
Loading…
Reference in New Issue
Block a user