From f924577712c7ec6b19edd0d6746dc8a119078654 Mon Sep 17 00:00:00 2001 From: Timo Notheisen Date: Thu, 17 Oct 2024 08:40:05 +0200 Subject: [PATCH] fix: add serivce account to actualidentitydeletion --- helm/templates/actualidentitydeletion/cronjob.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helm/templates/actualidentitydeletion/cronjob.yaml b/helm/templates/actualidentitydeletion/cronjob.yaml index 793ee61458..3159952c95 100644 --- a/helm/templates/actualidentitydeletion/cronjob.yaml +++ b/helm/templates/actualidentitydeletion/cronjob.yaml @@ -19,6 +19,9 @@ spec: template: spec: restartPolicy: Never + {{- with .Values.global.serviceAccount.name}} + serviceAccountName: {{ . }} + {{- end }} {{- with .Values.actualidentitydeletion.podSecurityContext }} securityContext: {{- toYaml . | nindent 12 }}