From 1378cee375c30e6ae4d638da81305aac5970df7c Mon Sep 17 00:00:00 2001 From: Arie Peterson <arie@greenhost.nl> Date: Tue, 24 Jan 2023 15:28:10 +0100 Subject: [PATCH] Use dashboard ServiceAccount for init job --- deployment/helmchart/templates/job-initialize-user.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/deployment/helmchart/templates/job-initialize-user.yaml b/deployment/helmchart/templates/job-initialize-user.yaml index 32910dbc..4cf77350 100644 --- a/deployment/helmchart/templates/job-initialize-user.yaml +++ b/deployment/helmchart/templates/job-initialize-user.yaml @@ -21,6 +21,7 @@ spec: component: dashboard spec: restartPolicy: Never + serviceAccountName: {{ include "dashboard.serviceAccountName" . }} containers: - name: {{ .Chart.Name }}-login-create-admin image: {{ template "backend.image" . }} -- GitLab