mirror of
https://github.com/minio/minio.git
synced 2025-01-22 20:23:14 -05:00
helm: Allow tls.certSecret in chart to be template'd (#16064)
This commit is contained in:
parent
d6bc141bd1
commit
7c5e4da90c
@ -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 -}}
|
||||
{{- end -}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user