feat: add support for app-specific service accounts when deploying via k3s

Service accounts must still be bound to a role, but this ensures apps do not get access to the default service account.
This commit is contained in:
Jose Diaz-Gonzalez committed 2024-02-05 16:47:57 -05:00
1 parent ff319428bf
commit d02c04c2a5
6 files changed
+28 -13

No files matched your search

@@ -94,6 +94,7 @@ spec:
imagePullSecrets: {{ $.Values.global.image.image_pull_secrets }}
{{- end }}
restartPolicy: Never
serviceAccountName: {{ $.Values.global.app_name }}
schedule: {{ $config.cron.schedule }}
startingDeadlineSeconds: 60
successfulJobsHistoryLimit: 10