From 9ff96235c7ca7082fc3095aae365f949560940bd Mon Sep 17 00:00:00 2001 From: hoppla20 Date: Wed, 18 Mar 2026 11:25:21 +0100 Subject: [PATCH] fix(chart): add imagePullPolicy and imagePullSecret to bucket-hook --- .../seaweedfs/templates/shared/post-install-bucket-hook.yaml | 2 ++ 1 file changed, 2 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 86d1a943c..8a4e9fc8b 100644 --- a/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yaml +++ b/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yaml @@ -64,9 +64,11 @@ spec: {{- if .Values.filer.podSecurityContext.enabled }} securityContext: {{- omit .Values.filer.podSecurityContext "enabled" | toYaml | nindent 8 }} {{- end }} + {{- include "seaweedfs.imagePullSecrets" $ | nindent 6 }} containers: - name: post-install-job image: {{ template "master.image" . }} + imagePullPolicy: {{ $.Values.global.imagePullPolicy | default "IfNotPresent" }} env: - name: WEED_CLUSTER_DEFAULT value: "sw"