diff --git a/charts/nucliadb_ingest/templates/_cronjob_purge.tpl b/charts/nucliadb_ingest/templates/_cronjob_purge.tpl index 6c20b8b503..1b8b4d03b2 100644 --- a/charts/nucliadb_ingest/templates/_cronjob_purge.tpl +++ b/charts/nucliadb_ingest/templates/_cronjob_purge.tpl @@ -38,6 +38,7 @@ spec: {{ toYaml .Values.extra_pod_annotations | indent 12 }} {{- end }} spec: + serviceAccount: {{ ((.Values.purgeCron).serviceAccount) | default "default" }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 12 }} topologySpreadConstraints: