diff --git a/charts/metabase/templates/deployment.yaml b/charts/metabase/templates/deployment.yaml index 6d54e8e..1ebbcb5 100644 --- a/charts/metabase/templates/deployment.yaml +++ b/charts/metabase/templates/deployment.yaml @@ -31,7 +31,7 @@ spec: initContainers: {{ toYaml .Values.extraInitContainers | nindent 8 }} {{- end }} - {{- if len .Values.image.pullSecrets > 0 }} + {{- if gt (len .Values.image.pullSecrets) 0 }} imagePullSecrets: {{- range .Values.image.pullSecrets }} - name: {{ . | quote }}