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
feat(helm): annotations for service account (#8429)
Peter Doddf4af1cc0baec
diff --git a/k8s/charts/seaweedfs/templates/shared/service-account.yaml b/k8s/charts/seaweedfs/templates/shared/service-account.yamlindex d7274e3451..efcb3dcb2c 100644--- a/k8s/charts/seaweedfs/templates/shared/service-account.yaml+++ b/k8s/charts/seaweedfs/templates/shared/service-account.yaml@@ -3,6 +3,10 @@ kind: ServiceAccountmetadata:name: {{ include "seaweedfs.serviceAccountName" . }}namespace: {{ .Release.Namespace }}+ {{- with .Values.global.serviceAccountAnnotations }}+ annotations:+ {{- toYaml . | nindent 4 }}+ {{- end }}labels:app.kubernetes.io/name: {{ template "seaweedfs.name" . }}helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yamlindex 2eecf23dd4..3162ddd331 100644--- a/k8s/charts/seaweedfs/values.yaml+++ b/k8s/charts/seaweedfs/values.yaml@@ -20,6 +20,7 @@ global:filerRead: false# we will use this serviceAccountName for all ClusterRoles/ClusterRoleBindingsserviceAccountName: "seaweedfs"+ serviceAccountAnnotations: {}automountServiceAccountToken: truecertificates:duration: 87600h