Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is is default user Root and runAsNonRoot false? #61

Open
avo-sepp opened this issue Feb 27, 2024 · 3 comments
Open

Why is is default user Root and runAsNonRoot false? #61

avo-sepp opened this issue Feb 27, 2024 · 3 comments

Comments

@avo-sepp
Copy link
Contributor

Hi,

Question is in the title. The default configuration for Windmill's Helm chart sets Windmill as root. Is there a developer reason for this? It impacts our ability to install Windmill in clusters with security features enforced. Does Windmill need to be run as root?

If it's not required for Windmill then I'd like to unset it from the default and maybe consider making some improvements to the Helm chart to meet higher security defaults.

@rubenfiszel
Copy link
Contributor

Hi @avo-sepp , all the security features can be enabled through conf so it shoudn't hinder your ability to install it in very constrained envs. Feel free to add a boolean value that enforces better defaults and we will mention it in the README but the defaults will stay relaxed because many use-cases actually benefit from being able to run as root and have control on the entire pod.

@avo-sepp
Copy link
Contributor Author

So if I change it off from root, it will not cause an issue running the application?

@rubenfiszel
Copy link
Contributor

Running the app no but some of your script might expect to have write ability on the whole pod and in which case they will error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants