fix: added missing pod labels for init job (#30956)
This commit is contained in:
parent
931f69d6c7
commit
b54a97b5f0
|
|
@ -29,7 +29,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.13.4
|
version: 0.13.5
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: postgresql
|
- name: postgresql
|
||||||
version: 12.1.6
|
version: 12.1.6
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ NOTE: This file is generated by helm-docs: https://github.com/norwoodj/helm-docs
|
||||||
|
|
||||||
# superset
|
# superset
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Apache Superset is a modern, enterprise-ready business intelligence web application
|
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.jobAnnotations."helm.sh/hook-delete-policy" | string | `"before-hook-creation"` | |
|
||||||
| init.loadExamples | bool | `false` | |
|
| init.loadExamples | bool | `false` | |
|
||||||
| init.podAnnotations | object | `{}` | |
|
| init.podAnnotations | object | `{}` | |
|
||||||
|
| init.podLabels | object | `{}` | |
|
||||||
| init.podSecurityContext | object | `{}` | |
|
| init.podSecurityContext | object | `{}` | |
|
||||||
| init.priorityClassName | string | `nil` | Set priorityClassName for init job pods |
|
| init.priorityClassName | string | `nil` | Set priorityClassName for init job pods |
|
||||||
| init.resources | object | `{}` | |
|
| init.resources | object | `{}` | |
|
||||||
|
|
|
||||||
|
|
@ -23,8 +23,12 @@ kind: Job
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "superset.fullname" . }}-init-db
|
name: {{ template "superset.fullname" . }}-init-db
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
{{- if .Values.extraLabels }}
|
|
||||||
labels:
|
labels:
|
||||||
|
app: {{ template "superset.name" . }}
|
||||||
|
chart: {{ template "superset.chart" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
|
heritage: {{ .Release.Service }}
|
||||||
|
{{- if .Values.extraLabels }}
|
||||||
{{- toYaml .Values.extraLabels | nindent 4 }}
|
{{- toYaml .Values.extraLabels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.init.jobAnnotations }}
|
{{- if .Values.init.jobAnnotations }}
|
||||||
|
|
@ -37,6 +41,15 @@ spec:
|
||||||
{{- if .Values.init.podAnnotations }}
|
{{- if .Values.init.podAnnotations }}
|
||||||
annotations: {{- toYaml .Values.init.podAnnotations | nindent 8 }}
|
annotations: {{- toYaml .Values.init.podAnnotations | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if or .Values.extraLabels .Values.init.podLabels }}
|
||||||
|
labels:
|
||||||
|
{{- if .Values.extraLabels }}
|
||||||
|
{{- toYaml .Values.extraLabels | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.init.podLabels }}
|
||||||
|
{{- toYaml .Values.init.podLabels | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- if or (.Values.serviceAccount.create) (.Values.serviceAccountName) }}
|
{{- if or (.Values.serviceAccount.create) (.Values.serviceAccountName) }}
|
||||||
serviceAccountName: {{ template "superset.serviceAccountName" . }}
|
serviceAccountName: {{ template "superset.serviceAccountName" . }}
|
||||||
|
|
|
||||||
|
|
@ -778,6 +778,8 @@ init:
|
||||||
extraContainers: []
|
extraContainers: []
|
||||||
## Annotations to be added to init job pods
|
## Annotations to be added to init job pods
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
# Labels to be added to init job pods
|
||||||
|
podLabels: {}
|
||||||
podSecurityContext: {}
|
podSecurityContext: {}
|
||||||
containerSecurityContext: {}
|
containerSecurityContext: {}
|
||||||
## Tolerations to be added to init job pods
|
## Tolerations to be added to init job pods
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue