use .Values.global.certificates instead

This commit is contained in:
Chris Lu
2025-11-27 14:03:30 -08:00
parent 0e385122b5
commit 3ae05b072a

View File

@@ -13,6 +13,12 @@ spec:
secretName: {{ template "seaweedfs.name" . }}-ca-cert
commonName: "{{ template "seaweedfs.name" . }}-root-ca"
isCA: true
{{- if .Values.global.certificates.duration }}
duration: {{ .Values.global.certificates.duration }}
{{- end }}
{{- if .Values.global.certificates.renewBefore }}
renewBefore: {{ .Values.global.certificates.renewBefore }}
{{- end }}
issuerRef:
name: {{ template "seaweedfs.name" . }}-issuer
kind: Issuer