Add ServiceAccount to worker deployment
Currently the worker-deployment.yaml doesn't include the serviceAccountName in the spec.
By adding:
{{- if or ($.Values.serviceAccount.name) ($.Values.serviceAccountName) }}
serviceAccountName: {{ $.Values.serviceAccount.name | default $.Values.serviceAccountName | quote }}
{{- end }}
in the spec field, the worker will also use the provided service account in the auto-deploy-values.yaml
Edited by Siebe Vanden Eynden