diff --git a/helm/superset/Chart.yaml b/helm/superset/Chart.yaml index 4fd7f59cd8d..d06eff1859f 100644 --- a/helm/superset/Chart.yaml +++ b/helm/superset/Chart.yaml @@ -22,7 +22,7 @@ maintainers: - name: craig-rueda email: craig@craigrueda.com url: https://github.com/craig-rueda -version: 0.1.2 +version: 0.1.3 dependencies: - name: postgresql version: 10.2.0 diff --git a/helm/superset/templates/deployment-beat.yaml b/helm/superset/templates/deployment-beat.yaml index 128bc6d767d..0ec76da15e8 100644 --- a/helm/superset/templates/deployment-beat.yaml +++ b/helm/superset/templates/deployment-beat.yaml @@ -96,6 +96,10 @@ spec: tolerations: {{ toYaml . | indent 8 }} {{- end }} +{{- if .Values.imagePullSecrets }} + imagePullSecrets: +{{ toYaml .Values.imagePullSecrets | indent 8 }} + {{- end }} volumes: - name: superset-config secret: diff --git a/helm/superset/templates/deployment-worker.yaml b/helm/superset/templates/deployment-worker.yaml index 4001e76e920..fe0ce20d858 100644 --- a/helm/superset/templates/deployment-worker.yaml +++ b/helm/superset/templates/deployment-worker.yaml @@ -94,6 +94,10 @@ spec: tolerations: {{ toYaml . | indent 8 }} {{- end }} +{{- if .Values.imagePullSecrets }} + imagePullSecrets: +{{ toYaml .Values.imagePullSecrets | indent 8 }} + {{- end }} volumes: - name: superset-config secret: diff --git a/helm/superset/templates/deployment.yaml b/helm/superset/templates/deployment.yaml index 2a611ca8f5b..8e807daf15e 100644 --- a/helm/superset/templates/deployment.yaml +++ b/helm/superset/templates/deployment.yaml @@ -106,6 +106,11 @@ spec: tolerations: {{ toYaml . | indent 8 }} {{- end }} +{{- if .Values.imagePullSecrets }} + imagePullSecrets: +{{ toYaml .Values.imagePullSecrets | indent 8 }} + {{- end }} + volumes: - name: superset-config secret: diff --git a/helm/superset/templates/init-job.yaml b/helm/superset/templates/init-job.yaml index 9a4530d3c8e..b3c4fd42f67 100644 --- a/helm/superset/templates/init-job.yaml +++ b/helm/superset/templates/init-job.yaml @@ -59,6 +59,10 @@ spec: command: {{ tpl (toJson .Values.init.command) . }} resources: {{ toYaml .Values.init.resources | indent 10 }} +{{- if .Values.imagePullSecrets }} + imagePullSecrets: +{{ toYaml .Values.imagePullSecrets | indent 8 }} + {{- end }} volumes: - name: superset-config secret: diff --git a/helm/superset/values.yaml b/helm/superset/values.yaml index 1a25419d166..58e9faaef5f 100644 --- a/helm/superset/values.yaml +++ b/helm/superset/values.yaml @@ -106,6 +106,9 @@ image: tag: latest pullPolicy: IfNotPresent +imagePullSecrets: [] + + service: type: ClusterIP port: 8088