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
helm: restart filer when the s3-configuration changes (#5768)
Gregor Tudanb62f7c512267
diff --git a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml b/k8s/charts/seaweedfs/templates/filer-statefulset.yamlindex 881c4868a9..49b62e8676 100644--- a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml+++ b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml@@ -32,19 +32,25 @@ spec:helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}app.kubernetes.io/instance: {{ .Release.Name }}app.kubernetes.io/component: filer- {{ with .Values.podLabels }}+ {{- with .Values.podLabels }}{{- toYaml . | nindent 8 }}{{- end }}{{- with .Values.filer.podLabels }}{{- toYaml . | nindent 8 }}{{- end }}annotations:- {{ with .Values.podAnnotations }}+ {{- with .Values.podAnnotations }}{{- toYaml . | nindent 8 }}{{- end }}{{- with .Values.filer.podAnnotations }}{{- toYaml . | nindent 8 }}{{- end }}+ {{- if .Values.filer.s3.existingConfigSecret }}+ {{- $configSecret := (lookup "v1" "Secret" .Release.Namespace .Values.filer.s3.existingConfigSecret) | default dict }}+ checksum/s3config: {{ $configSecret | toYaml | sha256sum }}+ {{- else }}+ checksum/s3config: {{ include (print .Template.BasePath "/s3-secret.yaml") . | sha256sum }}+ {{- end }}spec:restartPolicy: {{ default .Values.global.restartPolicy .Values.filer.restartPolicy }}{{- if .Values.filer.affinity }}