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
fix #5681 convert all resources parameters to maps instead of strings (#5689)
JesseBotbfd3bbac20a7
diff --git a/k8s/charts/seaweedfs/Chart.yaml b/k8s/charts/seaweedfs/Chart.yamlindex e7ed1f4723..bacf28a6a2 100644--- a/k8s/charts/seaweedfs/Chart.yaml+++ b/k8s/charts/seaweedfs/Chart.yaml@@ -2,4 +2,4 @@ apiVersion: v1description: SeaweedFSname: seaweedfsappVersion: "3.68"-version: 3.68.0+version: 4.0.0diff --git a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml b/k8s/charts/seaweedfs/templates/filer-statefulset.yamlindex 22d5197c7d..1e27c1840d 100644--- a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml+++ b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml@@ -269,9 +269,9 @@ spec:failureThreshold: {{ .Values.filer.livenessProbe.failureThreshold }}timeoutSeconds: {{ .Values.filer.livenessProbe.timeoutSeconds }}{{- end }}- {{- if .Values.filer.resources }}+ {{- with .Values.filer.resources }}resources:- {{ tpl .Values.filer.resources . | nindent 12 | trim }}+ {{- toYaml . | nindent 12 }}{{- end }}{{- if .Values.filer.containerSecurityContext.enabled }}securityContext: {{- omit .Values.filer.containerSecurityContext "enabled" | toYaml | nindent 12 }}diff --git a/k8s/charts/seaweedfs/templates/master-statefulset.yaml b/k8s/charts/seaweedfs/templates/master-statefulset.yamlindex 358f7f1cf5..73d1f9fb36 100644--- a/k8s/charts/seaweedfs/templates/master-statefulset.yaml+++ b/k8s/charts/seaweedfs/templates/master-statefulset.yaml@@ -227,9 +227,9 @@ spec:failureThreshold: {{ .Values.master.livenessProbe.failureThreshold }}timeoutSeconds: {{ .Values.master.livenessProbe.timeoutSeconds }}{{- end }}- {{- if .Values.master.resources }}+ {{- with .Values.master.resources }}resources:- {{ tpl .Values.master.resources . | nindent 12 | trim }}+ {{- toYaml . | nindent 12 }}{{- end }}{{- if .Values.master.containerSecurityContext.enabled }}securityContext: {{- omit .Values.master.containerSecurityContext "enabled" | toYaml | nindent 12 }}diff --git a/k8s/charts/seaweedfs/templates/s3-deployment.yaml b/k8s/charts/seaweedfs/templates/s3-deployment.yamlindex 778cac60fc..b678a0eff4 100644--- a/k8s/charts/seaweedfs/templates/s3-deployment.yaml+++ b/k8s/charts/seaweedfs/templates/s3-deployment.yaml@@ -204,9 +204,9 @@ spec:failureThreshold: {{ .Values.s3.livenessProbe.failureThreshold }}timeoutSeconds: {{ .Values.s3.livenessProbe.timeoutSeconds }}{{- end }}- {{- if .Values.s3.resources }}+ {{- with .Values.s3.resources }}resources:- {{ tpl .Values.s3.resources . | nindent 12 | trim }}+ {{- toYaml . | nindent 12 }}{{- end }}{{- if .Values.s3.containerSecurityContext.enabled }}securityContext: {{- omit .Values.s3.containerSecurityContext "enabled" | toYaml | nindent 12 }}diff --git a/k8s/charts/seaweedfs/templates/volume-statefulset.yaml b/k8s/charts/seaweedfs/templates/volume-statefulset.yamlindex 5a2c625055..0a70d8c440 100644--- a/k8s/charts/seaweedfs/templates/volume-statefulset.yaml+++ b/k8s/charts/seaweedfs/templates/volume-statefulset.yaml@@ -242,9 +242,9 @@ spec:failureThreshold: {{ .Values.volume.livenessProbe.failureThreshold }}timeoutSeconds: {{ .Values.volume.livenessProbe.timeoutSeconds }}{{- end }}- {{- if .Values.volume.resources }}+ {{- with .Values.volume.resources }}resources:- {{ tpl .Values.volume.resources . | nindent 12 | trim }}+ {{- toYaml . | nindent 12 }}{{- end }}{{- if .Values.volume.containerSecurityContext.enabled }}securityContext: {{- omit .Values.volume.containerSecurityContext "enabled" | toYaml | nindent 12 }}diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yamlindex fc16bd537e..e275a90d38 100644--- a/k8s/charts/seaweedfs/values.yaml+++ b/k8s/charts/seaweedfs/values.yaml@@ -140,7 +140,7 @@ master:# should map directly to the value of the resources field for a PodSpec,# formatted as a multi-line string. By default no direct resource request# is made.- resources: null+ resources: {}# updatePartition is used to control a careful rolling update of SeaweedFS# masters.@@ -401,7 +401,7 @@ volume:# should map directly to the value of the resources field for a PodSpec,# formatted as a multi-line string. By default no direct resource request# is made.- resources: null+ resources: {}# Toleration Settings for server pods# This should be a multi-line string matching the Toleration array@@ -593,7 +593,7 @@ filer:# should map directly to the value of the resources field for a PodSpec,# formatted as a multi-line string. By default no direct resource request# is made.- resources: null+ resources: {}# Toleration Settings for server pods# This should be a multi-line string matching the Toleration array@@ -789,7 +789,7 @@ s3:# should map directly to the value of the resources field for a PodSpec,# formatted as a multi-line string. By default no direct resource request# is made.- resources: null+ resources: {}# Toleration Settings for server pods# This should be a multi-line string matching the Toleration array