From 72573d978c28ee68ffc701aa981645628dc04bb5 Mon Sep 17 00:00:00 2001 From: Hannah Rittich Date: Mon, 16 Jan 2023 13:15:40 +0100 Subject: [PATCH] Adds setting of a service account for the worker. --- templates/worker/deployment.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/worker/deployment.yaml b/templates/worker/deployment.yaml index dba5b8d..5e5cf1f 100644 --- a/templates/worker/deployment.yaml +++ b/templates/worker/deployment.yaml @@ -26,6 +26,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + serviceAccountName: {{ include "django.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: