diff --git a/helm/superset/Chart.yaml b/helm/superset/Chart.yaml index ffc75f051dbff..c1a7ca7478f7c 100644 --- a/helm/superset/Chart.yaml +++ b/helm/superset/Chart.yaml @@ -22,7 +22,7 @@ maintainers: - name: craig-rueda email: craig@craigrueda.com url: https://github.com/craig-rueda -version: 0.3.7 +version: 0.3.8 dependencies: - name: postgresql version: 10.2.0 diff --git a/helm/superset/templates/deployment.yaml b/helm/superset/templates/deployment.yaml index 72a630327a75f..63ca5d712f1e6 100644 --- a/helm/superset/templates/deployment.yaml +++ b/helm/superset/templates/deployment.yaml @@ -82,6 +82,12 @@ spec: value: {{ $value | quote }} {{- end }} {{- end }} + {{- if .Values.supersetNode.env }} + {{- range $key, $value := .Values.supersetNode.env }} + - name: {{ $key | quote}} + value: {{ $value | quote }} + {{- end }} + {{- end }} envFrom: - secretRef: name: {{ tpl .Values.envFromSecret . | quote }} diff --git a/helm/superset/values.yaml b/helm/superset/values.yaml index fc427d2a78dee..f1ec768e2425e 100644 --- a/helm/superset/values.yaml +++ b/helm/superset/values.yaml @@ -207,6 +207,7 @@ supersetNode: db_user: superset db_pass: superset db_name: superset + env: {} forceReload: false # If true, forces deployment to reload on each upgrade initContainers: - name: wait-for-postgres