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 }}
|
||||||
{{- if .Values.global.imagePullSecrets }}
|
{{- if .Values.global.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- range .Values.global.imagePullSecrets }}
|
{{ toYaml .Values.global.imagePullSecrets }}
|
||||||
- name: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{- else if .Values.imagePullSecrets }}
|
{{- else if .Values.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{ toYaml .Values.imagePullSecrets }}
|
{{ toYaml .Values.imagePullSecrets }}
|
||||||
|
|
Loading…
Reference in New Issue