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
Revert "Removed unused certificate mounts from helm chart" (#6597)
Chris Lu91a963190458
diff --git a/k8s/charts/seaweedfs/Chart.yaml b/k8s/charts/seaweedfs/Chart.yamlindex 9d893a980e..6f20d7a748 100644--- a/k8s/charts/seaweedfs/Chart.yaml+++ b/k8s/charts/seaweedfs/Chart.yaml@@ -3,4 +3,4 @@ description: SeaweedFSname: seaweedfsappVersion: "3.85"# Dev note: Trigger a helm chart release by `git tag -a helm-<version>`-version: 4.0.386+version: 4.0.385diff --git a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml b/k8s/charts/seaweedfs/templates/filer-statefulset.yamlindex abbf89416a..304d746d8f 100644--- a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml+++ b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml@@ -248,15 +248,19 @@ spec:- name: ca-certreadOnly: truemountPath: /usr/local/share/ca-certificates/ca/+ - name: master-cert+ readOnly: true+ mountPath: /usr/local/share/ca-certificates/master/+ - name: volume-cert+ readOnly: true+ mountPath: /usr/local/share/ca-certificates/volume/- name: filer-certreadOnly: truemountPath: /usr/local/share/ca-certificates/filer/- {{- if .Values.filer.s3.enabled }}- name: client-certreadOnly: truemountPath: /usr/local/share/ca-certificates/client/{{- end }}- {{- end }}{{ tpl .Values.filer.extraVolumeMounts . | nindent 12 | trim }}ports:- containerPort: {{ .Values.filer.port }}@@ -363,15 +367,19 @@ spec:- name: ca-certsecret:secretName: {{ template "seaweedfs.name" . }}-ca-cert+ - name: master-cert+ secret:+ secretName: {{ template "seaweedfs.name" . }}-master-cert+ - name: volume-cert+ secret:+ secretName: {{ template "seaweedfs.name" . }}-volume-cert- name: filer-certsecret:secretName: {{ template "seaweedfs.name" . }}-filer-cert- {{- if .Values.filer.s3.enabled }}- name: client-certsecret:secretName: {{ template "seaweedfs.name" . }}-client-cert{{- end }}- {{- end }}{{ tpl .Values.filer.extraVolumes . | indent 8 | trim }}{{- if .Values.filer.nodeSelector }}nodeSelector:diff --git a/k8s/charts/seaweedfs/templates/master-statefulset.yaml b/k8s/charts/seaweedfs/templates/master-statefulset.yamlindex 719895559f..c46d37166a 100644--- a/k8s/charts/seaweedfs/templates/master-statefulset.yaml+++ b/k8s/charts/seaweedfs/templates/master-statefulset.yaml@@ -191,6 +191,15 @@ spec:- name: master-certreadOnly: truemountPath: /usr/local/share/ca-certificates/master/+ - name: volume-cert+ readOnly: true+ mountPath: /usr/local/share/ca-certificates/volume/+ - name: filer-cert+ readOnly: true+ mountPath: /usr/local/share/ca-certificates/filer/+ - name: client-cert+ readOnly: true+ mountPath: /usr/local/share/ca-certificates/client/{{- end }}{{ tpl .Values.master.extraVolumeMounts . | nindent 12 | trim }}ports:@@ -280,6 +289,15 @@ spec:- name: master-certsecret:secretName: {{ template "seaweedfs.name" . }}-master-cert+ - name: volume-cert+ secret:+ secretName: {{ template "seaweedfs.name" . }}-volume-cert+ - name: filer-cert+ secret:+ secretName: {{ template "seaweedfs.name" . }}-filer-cert+ - name: client-cert+ secret:+ secretName: {{ template "seaweedfs.name" . }}-client-cert{{- end }}{{ tpl .Values.master.extraVolumes . | indent 8 | trim }}{{- if .Values.master.nodeSelector }}diff --git a/k8s/charts/seaweedfs/templates/volume-statefulset.yaml b/k8s/charts/seaweedfs/templates/volume-statefulset.yamlindex 8cefe14c7b..e915593a50 100644--- a/k8s/charts/seaweedfs/templates/volume-statefulset.yaml+++ b/k8s/charts/seaweedfs/templates/volume-statefulset.yaml@@ -207,9 +207,18 @@ spec:- name: ca-certreadOnly: truemountPath: /usr/local/share/ca-certificates/ca/+ - name: master-cert+ readOnly: true+ mountPath: /usr/local/share/ca-certificates/master/- name: volume-certreadOnly: truemountPath: /usr/local/share/ca-certificates/volume/+ - name: filer-cert+ readOnly: true+ mountPath: /usr/local/share/ca-certificates/filer/+ - name: client-cert+ readOnly: true+ mountPath: /usr/local/share/ca-certificates/client/{{- end }}{{ tpl .Values.volume.extraVolumeMounts . | nindent 12 | trim }}ports: