DependencyTrack / helm-charts

Helm Charts for Dependency-Track
https://dependencytrack.org
Apache License 2.0
13 stars 15 forks source link

feat: Allow to override ServiceAccount #52

Closed Wihrt closed 2 months ago

Wihrt commented 2 months ago

Hello !

The purpose of this Pull Request is simple : add the ability to specify a service Account. It's a good practice to not use the default service account.

In my case, I need to use a specific service Account to use some features in my cluster (Workload Identity on GKE). You have a similar behavior in EKS as well, with IRSA.

I wanted to create 2 service Accounts at first, one for Api Server and one for Frontend, but it might have been a bit overkill.

I have placed the new keys in common but it can be changed.

Let me know if I need to fix some things.

P.S : I was trying to fix my mistakes with my git history, and finally I have closed the previous Pull Request as a result. It is exactly the same PR !