From 62d8315b366ecba69c143e91e0d6b8872e6e780a Mon Sep 17 00:00:00 2001 From: hoppla20 Date: Wed, 18 Mar 2026 11:25:38 +0100 Subject: [PATCH] chore(chart): add configurable bucket hook resources --- .../seaweedfs/templates/shared/post-install-bucket-hook.yaml | 4 ++++ k8s/charts/seaweedfs/values.yaml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yaml b/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yaml index 8a4e9fc8b..0e65c6b00 100644 --- a/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yaml +++ b/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yaml @@ -189,6 +189,10 @@ spec: {{- end }} - containerPort: {{ .Values.master.grpcPort }} #name: swfs-master-grpc + {{- with .Values.s3.createBucketsHook.resources }} + resources: + {{- toYaml . | nindent 10 }} + {{- end }} {{- if .Values.filer.containerSecurityContext.enabled }} securityContext: {{- omit .Values.filer.containerSecurityContext "enabled" | toYaml | nindent 12 }} {{- end }} diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yaml index 49e1e511d..ea09336af 100644 --- a/k8s/charts/seaweedfs/values.yaml +++ b/k8s/charts/seaweedfs/values.yaml @@ -1076,6 +1076,9 @@ s3: failureThreshold: 100 timeoutSeconds: 10 + createBucketsHook: + resources: {} + ingress: enabled: false className: ""