From cd049c9b4b188f702608d989fb32ae62f333dac5 Mon Sep 17 00:00:00 2001 From: Johannes Kleinlercher Date: Fri, 26 May 2023 20:48:01 +0200 Subject: [PATCH] fix: name of sa reference in deployment (#468) Signed-off-by: Johannes Kleinlercher --- charts/k8sgpt/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/k8sgpt/templates/deployment.yaml b/charts/k8sgpt/templates/deployment.yaml index 41cc7874f6..9052173ad9 100644 --- a/charts/k8sgpt/templates/deployment.yaml +++ b/charts/k8sgpt/templates/deployment.yaml @@ -21,7 +21,7 @@ spec: app.kubernetes.io/name: {{ include "k8sgpt.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} spec: - serviceAccountName: k8sgpt + serviceAccountName: {{ template "k8sgpt.fullname" . }} containers: - name: k8sgpt-container imagePullPolicy: {{ .Values.deployment.imagePullPolicy }}