Browse Source

use .Values.global.certificates instead

pull/7444/merge
Chris Lu 1 day ago
parent
commit
3ae05b072a
  1. 6
      k8s/charts/seaweedfs/templates/cert/ca-cert.yaml

6
k8s/charts/seaweedfs/templates/cert/ca-cert.yaml

@ -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

Loading…
Cancel
Save