From 1e1f69050530080248c12e325419cbaa979587c4 Mon Sep 17 00:00:00 2001 From: Plenty Su Date: Mon, 6 May 2024 23:53:23 +0900 Subject: [PATCH] Correct the service account name in role binding --- .../templates/scalar-manager/clusterrolebinding.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/scalar-manager/templates/scalar-manager/clusterrolebinding.yaml b/charts/scalar-manager/templates/scalar-manager/clusterrolebinding.yaml index fb1b66f2..ee1a4ffa 100644 --- a/charts/scalar-manager/templates/scalar-manager/clusterrolebinding.yaml +++ b/charts/scalar-manager/templates/scalar-manager/clusterrolebinding.yaml @@ -6,7 +6,7 @@ metadata: {{- include "scalar-manager.labels" . | nindent 4 }} subjects: - kind: ServiceAccount - name: {{ include "scalar-manager.fullname" . }} + name: {{ include "scalar-manager.serviceAccountName" . }} namespace: {{ .Release.Namespace }} apiGroup: "" roleRef: