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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
use .Values.global.certificates instead
Chris Lu75d593d7fa82
diff --git a/k8s/charts/seaweedfs/templates/cert/ca-cert.yaml b/k8s/charts/seaweedfs/templates/cert/ca-cert.yamlindex 0fd6615e10..b01a8dcc03 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-certcommonName: "{{ template "seaweedfs.name" . }}-root-ca"isCA: true+ {{- if .Values.certificates.ca.duration }}+ duration: {{ .Values.certificates.ca.duration }}+ {{- end }}+ {{- if .Values.certificates.ca.renewBefore }}+ renewBefore: {{ .Values.certificates.ca.renewBefore }}+ {{- end }}issuerRef:name: {{ template "seaweedfs.name" . }}-issuerkind: Issuerdiff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yamlindex 1bfe5c72c5..74bbfeba14 100644--- a/k8s/charts/seaweedfs/values.yaml+++ b/k8s/charts/seaweedfs/values.yaml@@ -1268,6 +1268,9 @@ certificates:keySize: 2048duration: 2160h # 90drenewBefore: 360h # 15d+ ca:+ duration: 87600h # 10 years+ renewBefore: 720h # 30dexternalCertificates:# This will avoid the need to use cert-manager and will rely on providing your own external certificates and CA# you will need to store your provided certificates in the secret read by the different services: