aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--k8s/charts/seaweedfs/templates/cert/ca-cert.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/k8s/charts/seaweedfs/templates/cert/ca-cert.yaml b/k8s/charts/seaweedfs/templates/cert/ca-cert.yaml
index 0fd6615e1..7c53be23e 100644
--- a/k8s/charts/seaweedfs/templates/cert/ca-cert.yaml
+++ b/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