mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
imagePullSecrets consistent types for global , local (#21500)
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user