mirror of https://github.com/apache/superset.git
feat(helm): Add option to deploy extra containers to init job (#25783)
This commit is contained in:
parent
74dbada473
commit
0f01d9b08f
|
@ -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
|
||||
|
|
|
@ -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"` | |
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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: {}
|
||||
|
|
Loading…
Reference in New Issue