fix: adding extraConfig to celery beat deployment (#22586)
Co-authored-by: Christian Dreier <dreier.christian@gmail.com>
diff --git a/helm/superset/Chart.yaml b/helm/superset/Chart.yaml
index 3d5b728..6321e07 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.1
+version: 0.8.2
dependencies:
- name: postgresql
version: 12.1.6
diff --git a/helm/superset/README.md b/helm/superset/README.md
index 1258ed0..03d3c1f 100644
--- a/helm/superset/README.md
+++ b/helm/superset/README.md
@@ -23,7 +23,7 @@
# superset
-
+
Apache Superset is a modern, enterprise-ready business intelligence web application
diff --git a/helm/superset/templates/deployment-beat.yaml b/helm/superset/templates/deployment-beat.yaml
index 01e66a8..d424242 100644
--- a/helm/superset/templates/deployment-beat.yaml
+++ b/helm/superset/templates/deployment-beat.yaml
@@ -104,6 +104,11 @@
- name: superset-config
mountPath: {{ .Values.configMountPath | quote }}
readOnly: true
+ {{- if .Values.extraConfigs }}
+ - name: superset-extra-config
+ mountPath: {{ .Values.extraConfigMountPath | quote }}
+ readOnly: true
+ {{- end }}
{{- with .Values.extraVolumeMounts }}
{{- tpl (toYaml .) $ | nindent 12 -}}
{{- end }}
@@ -133,6 +138,11 @@
- name: superset-config
secret:
secretName: {{ tpl .Values.configFromSecret . }}
+ {{- if .Values.extraConfigs }}
+ - name: superset-extra-config
+ configMap:
+ name: {{ template "superset.fullname" . }}-extra-config
+ {{- end }}
{{- with .Values.extraVolumes }}
{{- tpl (toYaml .) $ | nindent 8 -}}
{{- end }}