openfga / helm-charts

Official Helm charts for the OpenFGA project.
https://openfga.dev
Apache License 2.0
18 stars 29 forks source link

Helm chart runs containers with higher privilege by default #143

Open aaguiarz opened 1 week ago

aaguiarz commented 1 week ago

Could the defaults for all install scripts be set to run the openfga server with limited permissions?

In the case of helm chart, this would achieve:

This would greatly reduce the attack surface area.

evankanderson commented 3 days ago

It may be worth attempting to run containers under the restricted PodSecurityAdmission level, if possible. While this is not strictly required, it should be enough for most "normal" applications, and represents a substantial threat reduction over the Kubernetes defaults.