diff --git a/helm/minio/templates/_helpers.tpl b/helm/minio/templates/_helpers.tpl index 4e381941c..3d62c69ed 100644 --- a/helm/minio/templates/_helpers.tpl +++ b/helm/minio/templates/_helpers.tpl @@ -166,7 +166,7 @@ Formats volume for MinIO TLS keys and trusted certs {{- if .Values.tls.enabled }} - name: cert-secret-volume secret: - secretName: {{ .Values.tls.certSecret }} + secretName: {{ tpl .Values.tls.certSecret }} items: - key: {{ .Values.tls.publicCrt }} path: public.crt @@ -215,4 +215,4 @@ otherwise it generates a random value. {{- else }} {{- include "minio.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" (include "minio.fullname" .) "Length" 40 "Key" "rootPassword") }} {{- end }} -{{- end -}} \ No newline at end of file +{{- end -}}