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
Add variabilisation of RBAC (#4692)
Armand LEOPOLD7ab8c6976eff
diff --git a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml b/k8s/charts/seaweedfs/templates/filer-statefulset.yamlindex 054ad1ccdd..b770025a13 100644--- a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml+++ b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml@@ -46,7 +46,9 @@ spec:imagePullSecrets:- name: {{ .Values.global.imagePullSecrets }}{{- end }}+ {{- if .Values.global.createClusterRole }}serviceAccountName: seaweedfs-rw-sa #hack for delete pod master after migration+ {{- end }}terminationGracePeriodSeconds: 60{{- if .Values.filer.priorityClassName }}priorityClassName: {{ .Values.filer.priorityClassName | quote }}diff --git a/k8s/charts/seaweedfs/templates/service-account.yaml b/k8s/charts/seaweedfs/templates/service-account.yamlindex 22c29b56a2..89f5311744 100644--- a/k8s/charts/seaweedfs/templates/service-account.yaml+++ b/k8s/charts/seaweedfs/templates/service-account.yaml@@ -1,3 +1,4 @@+{{- if .Values.global.createClusterRole }}#hack for delete pod master after migration---kind: ClusterRole@@ -27,3 +28,4 @@ roleRef:apiGroup: rbac.authorization.k8s.iokind: ClusterRolename: seaweedfs-rw-cr+{{- end }}diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yamlindex 3ed0f5d55d..8a41481021 100644--- a/k8s/charts/seaweedfs/values.yaml+++ b/k8s/charts/seaweedfs/values.yaml@@ -1,6 +1,7 @@# Available parameters and their default values for the SeaweedFS chart.global:+ createClusterRole: trueregistry: ""repository: ""imageName: chrislusf/seaweedfs