From a58692f5506ff5780d735d26f37b8ee86de6bb48 Mon Sep 17 00:00:00 2001 From: majinghe <42570491+majinghe@users.noreply.github.com> Date: Wed, 17 Jun 2026 18:36:24 +0800 Subject: [PATCH] fix(heal): bind service account to sts and deployment (#3513) --- helm/rustfs/templates/deployment.yaml | 1 + helm/rustfs/templates/statefulset.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/helm/rustfs/templates/deployment.yaml b/helm/rustfs/templates/deployment.yaml index 361be89f2..6e1c8f159 100644 --- a/helm/rustfs/templates/deployment.yaml +++ b/helm/rustfs/templates/deployment.yaml @@ -34,6 +34,7 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} spec: + serviceAccountName: {{ include "rustfs.serviceAccountName" . }} {{- with include "chart.imagePullSecrets" . }} imagePullSecrets: {{- . | nindent 8 }} diff --git a/helm/rustfs/templates/statefulset.yaml b/helm/rustfs/templates/statefulset.yaml index 041f1ae09..5bc3a21f2 100644 --- a/helm/rustfs/templates/statefulset.yaml +++ b/helm/rustfs/templates/statefulset.yaml @@ -28,6 +28,7 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} spec: + serviceAccountName: {{ include "rustfs.serviceAccountName" . }} enableServiceLinks: {{ .Values.enableServiceLinks }} {{- with include "chart.imagePullSecrets" . }} imagePullSecrets: