fix(heal): bind service account to sts and deployment (#3513)

This commit is contained in:
majinghe
2026-06-17 18:36:24 +08:00
committed by GitHub
parent 38bbba4c5c
commit a58692f550
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@ spec:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
spec: spec:
serviceAccountName: {{ include "rustfs.serviceAccountName" . }}
{{- with include "chart.imagePullSecrets" . }} {{- with include "chart.imagePullSecrets" . }}
imagePullSecrets: imagePullSecrets:
{{- . | nindent 8 }} {{- . | nindent 8 }}
+1
View File
@@ -28,6 +28,7 @@ spec:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
spec: spec:
serviceAccountName: {{ include "rustfs.serviceAccountName" . }}
enableServiceLinks: {{ .Values.enableServiceLinks }} enableServiceLinks: {{ .Values.enableServiceLinks }}
{{- with include "chart.imagePullSecrets" . }} {{- with include "chart.imagePullSecrets" . }}
imagePullSecrets: imagePullSecrets: