Helm Chart: ServiceAccount enabled true/false, change name
kubebn opened this issue · comments
Is your feature request related to a problem?
ServiceAccount creation and it's name in helm chart should be optional. Sometimes in Cloud native environment you need to annotate/label K8s service account to allow permissions/access for some cloud services. ServiceAccount configuration should be more flexible in terms of enabled or not (when you want to use your own service account), and it's name (it can be connected to cloud and it's easier to rename k8s SA rather than cloud service, like managedidentity/WI).
Describe the solution you'd like
Something like this would be nice to have:
runnerServiceAccount:
enabled: false
or
runnerServiceAccount:
enabled: true
name: my-own-sa-name
and added here https://github.com/robusta-dev/robusta/blob/master/helm/robusta/templates/runner.yaml#L29