-
Notifications
You must be signed in to change notification settings - Fork 813
Description
Welcome!
- Yes, I've searched similar issues on GitHub and didn't find any.
- Yes, I've searched similar issues on the Traefik community forum and didn't find any.
What do you want to achieve with this Chart ?
To adhere to restrictive cluster security policies, setting hostUsers on the pod spec should be possible.
k8s docs here: User Namespaces Docs. This reduces blast radius of a pod compromise, and many orgs have added a security policy to require that hostUsers be set to false.
In most cases this can be set to false with negligible impact on the workload. That being said, setting it to false by default would risk breaking some installations that mount in certain storage types that lack idmap support, or are using less common network configurations like setting hostNetwork.
Proposal
Add templating for setting hostUsers in the pod template, and leave it unset by default, then document it.
This is a very simple feature, if there is maintainer support I can throw together a quick PR.