From 2edd3be85fed7bd398937c1a5d514a045d0c23d7 Mon Sep 17 00:00:00 2001 From: Pascal Sthamer <10992664+P4sca1@users.noreply.github.com> Date: Wed, 19 Feb 2025 11:31:04 +0100 Subject: [PATCH] use custom service accounts for workers and apps Signed-off-by: Pascal Sthamer <10992664+P4sca1@users.noreply.github.com> --- charts/shuffle/templates/orborus/orborus-dpl.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/shuffle/templates/orborus/orborus-dpl.yaml b/charts/shuffle/templates/orborus/orborus-dpl.yaml index 411db680..0d3488f0 100644 --- a/charts/shuffle/templates/orborus/orborus-dpl.yaml +++ b/charts/shuffle/templates/orborus/orborus-dpl.yaml @@ -86,6 +86,10 @@ spec: value: kubernetes - name: IS_KUBERNETES value: "true" + - name: SHUFFLE_WORKER_SERVICE_ACCOUNT_NAME + value: {{ include "shuffle.worker.serviceAccountName" . }} + - name: SHUFFLE_APP_SERVICE_ACCOUNT_NAME + value: {{ include "shuffle.app.serviceAccountName" . }} {{- if .Values.orborus.extraEnvVars }} {{- include "common.tplvalues.render" (dict "value" .Values.orborus.extraEnvVars "context" $) | nindent 12 }} {{- end }}