-
Notifications
You must be signed in to change notification settings - Fork 66
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
Need a version of this image which can run with non-root privileges #159
Comments
Hi @tam7t ... Can you please answer this ? |
This was not possible when the plugin was the process that actually wrote the files to disk. It may be possible now though there could be an issue creating the unix socket in the hostpath (required for the driver to communicate with this plugin). Note: the driver itself will still require root privileges (as you've noted kubernetes-sigs/secrets-store-csi-driver#842) |
thanks for the response @tam7t .. much appreciated. |
Seems like non-root does not work currently due to permissions on the host filesystem:
Ii think we need to open up permissions on the
This allows the pod to start
For comparison the
I'm not sure if its better to keep the plugins as |
Hi @tam7t .. Thanks for the feedback and your thoughts. |
Some additional details on upstream: The
Also relevant is kubernetes-sigs/secrets-store-csi-driver#858 |
TL;DR
We need this container to run as non-root user.
Design
Proposal
Since its widely published that containers should run as non-root users, can we have a version of this which can run as non-root?
Alternatives considered
We have tried to add the user in the dockerbuild file using the USER command, but this wouldn't let the container run.
Resources
Additional information
No
The text was updated successfully, but these errors were encountered: