diff --git a/helm/superset/Chart.yaml b/helm/superset/Chart.yaml index 0d29b8833428b..cb1599968e0af 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.13.1 +version: 0.13.3 dependencies: - name: postgresql version: 12.1.6 diff --git a/helm/superset/README.md b/helm/superset/README.md index 2031af326413f..963083871f790 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.13.1](https://img.shields.io/badge/Version-0.13.1-informational?style=flat-square) +![Version: 0.13.2](https://img.shields.io/badge/Version-0.13.2-informational?style=flat-square) Apache Superset is a modern, enterprise-ready business intelligence web application @@ -105,6 +105,7 @@ On helm this can be set on `extraSecretEnv.SUPERSET_SECRET_KEY` or `configOverri | init.jobAnnotations."helm.sh/hook-delete-policy" | string | `"before-hook-creation"` | | | init.loadExamples | bool | `false` | | | init.podAnnotations | object | `{}` | | +| init.podLabels | object | `{}` | | | init.podSecurityContext | object | `{}` | | | init.priorityClassName | string | `nil` | Set priorityClassName for init job pods | | init.resources | object | `{}` | | diff --git a/helm/superset/templates/init-job.yaml b/helm/superset/templates/init-job.yaml index 0cb46e816b0ea..46a3452693bc4 100644 --- a/helm/superset/templates/init-job.yaml +++ b/helm/superset/templates/init-job.yaml @@ -23,8 +23,12 @@ kind: Job metadata: name: {{ template "superset.fullname" . }}-init-db namespace: {{ .Release.Namespace }} - {{- if .Values.extraLabels }} labels: + app: {{ template "superset.name" . }} + chart: {{ template "superset.chart" . }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} + {{- if .Values.extraLabels }} {{- toYaml .Values.extraLabels | nindent 4 }} {{- end }} {{- if .Values.init.jobAnnotations }} @@ -37,6 +41,9 @@ spec: {{- if .Values.init.podAnnotations }} annotations: {{- toYaml .Values.init.podAnnotations | nindent 8 }} {{- end }} + {{- if .Values.init.podLabels }} + labels: {{- toYaml .Values.init.podLabels | nindent 8 }} + {{- end }} spec: {{- if or (.Values.serviceAccount.create) (.Values.serviceAccountName) }} serviceAccountName: {{ template "superset.serviceAccountName" . }} diff --git a/helm/superset/values.yaml b/helm/superset/values.yaml index 7bd2a7b20a287..227de902dd724 100644 --- a/helm/superset/values.yaml +++ b/helm/superset/values.yaml @@ -777,6 +777,8 @@ init: extraContainers: [] ## Annotations to be added to init job pods podAnnotations: {} + # Labels to be added to init job pods + podLabels: {} podSecurityContext: {} containerSecurityContext: {} ## Tolerations to be added to init job pods