From d26d906043368a729b95fbc63c433c22e1e532be Mon Sep 17 00:00:00 2001 From: Timo Notheisen <65653426+tnotheis@users.noreply.github.com> Date: Thu, 17 Oct 2024 09:03:24 +0200 Subject: [PATCH] Identity deletion job fails to publish events due to the lack of permissions (#913) --- 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 }}