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

Add support for setting ownership of CSI volumes via VOLUME_MOUNT_GROUP #44988

Open
s4ke opened this issue Feb 13, 2023 · 0 comments
Open

Add support for setting ownership of CSI volumes via VOLUME_MOUNT_GROUP #44988

s4ke opened this issue Feb 13, 2023 · 0 comments
Labels
area/swarm kind/feature Functionality or other elements that the project doesn't currently have. Features are new and shiny status/0-triage

Comments

@s4ke
Copy link
Contributor

s4ke commented Feb 13, 2023

Description

Currently the CSI integration does not support setting permissions on newly created volumes. The CSI spec has support for it via VOLUME_MOUNT_GROUP, see https://github.com/container-storage-interface/spec/blob/master/spec.md.

Supporting this in Docker Swarm would mean that more services could be run under a different user than root.

See also the discussion on hetznercloud/csi-driver#377 for more background information.

@s4ke s4ke added kind/feature Functionality or other elements that the project doesn't currently have. Features are new and shiny status/0-triage labels Feb 13, 2023
s4ke added a commit to s4ke/csi-plugins-for-docker-swarm that referenced this issue Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/swarm kind/feature Functionality or other elements that the project doesn't currently have. Features are new and shiny status/0-triage
Projects
None yet
Development

No branches or pull requests

2 participants