Make imagePullSecrets and array, move to root level

Changes as per PR https://github.com/helm/helm/pull/5271

- make imagePullSecrets be an array
- move imagePullSecrets to 'root' level of Values

Signed-off-by: Don Bowman <db@donbowman.ca>
pull/5271/head
Don Bowman 7 years ago
parent 3b716b6d73
commit d819efa48b
No known key found for this signature in database
GPG Key ID: 9E102DBD56C82FAA

@ -62,8 +62,8 @@ image:
repository: nginx
tag: stable
pullPolicy: IfNotPresent
# pullSecret: my_secret
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
@ -190,9 +190,9 @@ spec:
app.kubernetes.io/name: {{ include "<CHARTNAME>.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
spec:
{{- if .Values.image.pullSecret -}}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
- name: {{ .Values.image.pullSecret }}
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}

Loading…
Cancel
Save