diff --git a/helm/superset/Chart.yaml b/helm/superset/Chart.yaml index 9467646fb..1eb7b5df1 100644 --- a/helm/superset/Chart.yaml +++ b/helm/superset/Chart.yaml @@ -29,7 +29,7 @@ maintainers: - name: craig-rueda email: craig@craigrueda.com url: https://github.com/craig-rueda -version: 0.10.11 +version: 0.10.12 dependencies: - name: postgresql version: 12.1.6 diff --git a/helm/superset/README.md b/helm/superset/README.md index e6f66bde6..7abeccec9 100644 --- a/helm/superset/README.md +++ b/helm/superset/README.md @@ -23,7 +23,7 @@ NOTE: This file is generated by helm-docs: https://github.com/norwoodj/helm-docs # superset -![Version: 0.10.11](https://img.shields.io/badge/Version-0.10.11-informational?style=flat-square) +![Version: 0.10.12](https://img.shields.io/badge/Version-0.10.12-informational?style=flat-square) Apache Superset is a modern, enterprise-ready business intelligence web application @@ -91,6 +91,7 @@ helm install my-superset superset/superset | init.containerSecurityContext | object | `{}` | | | init.createAdmin | bool | `true` | | | init.enabled | bool | `true` | | +| init.extraContainers | list | `[]` | Launch additional containers into init job pod | | init.initContainers | list | a container waiting for postgres | List of initContainers | | init.initscript | string | a script to create admin user and initialize roles | A Superset init script | | init.jobAnnotations."helm.sh/hook" | string | `"post-install,post-upgrade"` | | diff --git a/helm/superset/templates/init-job.yaml b/helm/superset/templates/init-job.yaml index da83f7f95..d1b0eff7a 100644 --- a/helm/superset/templates/init-job.yaml +++ b/helm/superset/templates/init-job.yaml @@ -83,6 +83,9 @@ spec: {{- end }} command: {{ tpl (toJson .Values.init.command) . }} resources: {{- toYaml .Values.init.resources | nindent 10 }} + {{- if .Values.init.extraContainers }} + {{- toYaml .Values.init.extraContainers | nindent 8 }} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/helm/superset/values.yaml b/helm/superset/values.yaml index 5e3f91297..67f685bf1 100644 --- a/helm/superset/values.yaml +++ b/helm/superset/values.yaml @@ -697,6 +697,8 @@ init: echo "Importing database connections.... " superset import_datasources -p {{ .Values.extraConfigMountPath }}/import_datasources.yaml fi + # -- Launch additional containers into init job pod + extraContainers: [] ## Annotations to be added to init job pods podAnnotations: {} podSecurityContext: {}