community-tooling / charts

Helm charts for everyday use
https://community-tooling.github.io/charts/
MIT License
5 stars 5 forks source link

fix(generic): configure ServiceAccount when name is set or creation is enabled #344

Closed morremeyer closed 1 month ago

morremeyer commented 1 month ago

This fix configures the ServiceAccount when name is set or creation is enabled, not only when creation is enabled.

With this fix, a ServiceAccount can be created manually or by another tool and then used with this chart.

This also introduces unit tests, which are especially helpful for configurations that are not easy or impossible to test by a deployment in the scope of the CI.