mirror of https://github.com/minio/minio.git
imagePullSecrets consistent types for global , local (#21500)
This commit is contained in:
parent
d002beaee3
commit
7a6a2256b1
|
@ -131,9 +131,7 @@ Also, we can not use a single if because lazy evaluation is not an option
|
|||
{{- if .Values.global }}
|
||||
{{- if .Values.global.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- range .Values.global.imagePullSecrets }}
|
||||
- name: {{ . }}
|
||||
{{- end }}
|
||||
{{ toYaml .Values.global.imagePullSecrets }}
|
||||
{{- else if .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{ toYaml .Values.imagePullSecrets }}
|
||||
|
|
Loading…
Reference in New Issue