From 7a6a2256b15cc20f66e33da18fd55a94a2d58bc5 Mon Sep 17 00:00:00 2001 From: M Alvee Date: Thu, 7 Aug 2025 05:48:24 +0600 Subject: [PATCH] imagePullSecrets consistent types for global , local (#21500) --- helm/minio/templates/_helpers.tpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/helm/minio/templates/_helpers.tpl b/helm/minio/templates/_helpers.tpl index 1cb209e5e..64f34aeb7 100644 --- a/helm/minio/templates/_helpers.tpl +++ b/helm/minio/templates/_helpers.tpl @@ -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 }}