feat: ability to pull from your own docker registry using a secret (#14686)

* feature: ability to pull from your own docker registry using a secret

* feature: ability to pull from your own docker registry using a secret

* fix: formating

* fix: formating

* use secret for all deployments and jobs that use the helm chart

* update chart version number

Co-authored-by: jaisheel <jaisheel.mistry@partner.bmw.co.za>
This commit is contained in:
jmistry 2021-05-26 08:50:40 +02:00 committed by GitHub
parent 45020860d5
commit 9fe0222009
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 21 additions and 1 deletions

View File

@ -22,7 +22,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.1.2 version: 0.1.3
dependencies: dependencies:
- name: postgresql - name: postgresql
version: 10.2.0 version: 10.2.0

View File

@ -96,6 +96,10 @@ spec:
tolerations: tolerations:
{{ toYaml . | indent 8 }} {{ toYaml . | indent 8 }}
{{- end }} {{- end }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }}
{{- end }}
volumes: volumes:
- name: superset-config - name: superset-config
secret: secret:

View File

@ -94,6 +94,10 @@ spec:
tolerations: tolerations:
{{ toYaml . | indent 8 }} {{ toYaml . | indent 8 }}
{{- end }} {{- end }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }}
{{- end }}
volumes: volumes:
- name: superset-config - name: superset-config
secret: secret:

View File

@ -106,6 +106,11 @@ spec:
tolerations: tolerations:
{{ toYaml . | indent 8 }} {{ toYaml . | indent 8 }}
{{- end }} {{- end }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }}
{{- end }}
volumes: volumes:
- name: superset-config - name: superset-config
secret: secret:

View File

@ -59,6 +59,10 @@ spec:
command: {{ tpl (toJson .Values.init.command) . }} command: {{ tpl (toJson .Values.init.command) . }}
resources: resources:
{{ toYaml .Values.init.resources | indent 10 }} {{ toYaml .Values.init.resources | indent 10 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }}
{{- end }}
volumes: volumes:
- name: superset-config - name: superset-config
secret: secret:

View File

@ -106,6 +106,9 @@ image:
tag: latest tag: latest
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
imagePullSecrets: []
service: service:
type: ClusterIP type: ClusterIP
port: 8088 port: 8088