Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

use .Values.global.certificates instead

Chris Lu3ae05b072a1b
diff --git a/k8s/charts/seaweedfs/templates/cert/ca-cert.yaml b/k8s/charts/seaweedfs/templates/cert/ca-cert.yaml
index 0fd6615e10..7c53be23ed 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