-
Notifications
You must be signed in to change notification settings - Fork 345
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
feature: Stop running container as root by default for vmselect, vmstorage, vmalert, vmagent and vminsert #1958
Comments
please set
it will set a strict security context for all resources, that are managed by operator with defined here values |
Thanks @AndrewChubatiuk . It solved my problem. BTW, I think running non-root should be default setting. |
before it was enabled by default, but then it was disabled to prevent upgrade issues for existing users like this one. enabling this by default will trigger a bunch of issues like this |
Some suggestion/comments:
Also, mention it in the installation doc as reminder / recommendation for new installations.
It runs chown recursively, it depends how many files are inside the /vm-data |
Chart name and version, where you feel a lack of requested feature
chart: victoria-metrics-k8s-stack
version: v0.35.2
Is your feature request related to a problem? Please describe.
It is found that some components are running as root by default.
It is not a best practice
another node:
Describe the solution you'd like
As best practice, they should not run as root inside a container
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: