openfga / helm-charts

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

Helm chart runs containers with higher privilege by default #143

Open aaguiarz opened 5 months ago

aaguiarz commented 5 months 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 5 months 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.