mirror of
https://github.com/minio/minio.git
synced 2025-01-23 04:33:15 -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 }}
|
{{- if .Values.tls.enabled }}
|
||||||
- name: cert-secret-volume
|
- name: cert-secret-volume
|
||||||
secret:
|
secret:
|
||||||
secretName: {{ .Values.tls.certSecret }}
|
secretName: {{ tpl .Values.tls.certSecret }}
|
||||||
items:
|
items:
|
||||||
- key: {{ .Values.tls.publicCrt }}
|
- key: {{ .Values.tls.publicCrt }}
|
||||||
path: public.crt
|
path: public.crt
|
||||||
@ -215,4 +215,4 @@ otherwise it generates a random value.
|
|||||||
{{- else }}
|
{{- else }}
|
||||||
{{- include "minio.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" (include "minio.fullname" .) "Length" 40 "Key" "rootPassword") }}
|
{{- include "minio.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" (include "minio.fullname" .) "Length" 40 "Key" "rootPassword") }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user