fix(chart): add missing toleration for init-job (#23452)
Co-authored-by: Jonathan Gallon <jonathan.gallon@manomano.com>
diff --git a/helm/superset/Chart.yaml b/helm/superset/Chart.yaml
index 8a7ec77..40512d0 100644
--- a/helm/superset/Chart.yaml
+++ b/helm/superset/Chart.yaml
@@ -29,7 +29,7 @@
- name: craig-rueda
email: craig@craigrueda.com
url: https://github.com/craig-rueda
-version: 0.8.8
+version: 0.8.9
dependencies:
- name: postgresql
version: 12.1.6
diff --git a/helm/superset/README.md b/helm/superset/README.md
index 89db411..85f72a8 100644
--- a/helm/superset/README.md
+++ b/helm/superset/README.md
@@ -23,7 +23,7 @@
# superset
-![Version: 0.8.8](https://img.shields.io/badge/Version-0.8.8-informational?style=flat-square)
+![Version: 0.8.9](https://img.shields.io/badge/Version-0.8.9-informational?style=flat-square)
Apache Superset is a modern, enterprise-ready business intelligence web application
diff --git a/helm/superset/templates/init-job.yaml b/helm/superset/templates/init-job.yaml
index 8555253..1ffbf1c 100644
--- a/helm/superset/templates/init-job.yaml
+++ b/helm/superset/templates/init-job.yaml
@@ -83,6 +83,10 @@
command: {{ tpl (toJson .Values.init.command) . }}
resources:
{{- toYaml .Values.init.resources | nindent 10 }}
+ {{- with .Values.tolerations }}
+ tolerations:
+ {{- toYaml . | nindent 8 }}
+ {{- end }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml .Values.imagePullSecrets | nindent 8 }}