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 }}