ccremer / kubernetes-zfs-provisioner

Dynamic ZFS persistent volume provisioner for Kubernetes
Apache License 2.0
74 stars 7 forks source link

Ability to chown provisioned datasets #114

Closed gregwalters closed 11 months ago

gregwalters commented 11 months ago

When the zfs-provisioner runs it does not set the ownership information (uid/gid) on datasets that get created and this can cause pods running as non-root users to get permission errors writing to mounted volumes.

Is it currently possible to specify UID/GID that should be applied to datasets upon creation? If not, it would be useful to be able to specify them either at the PVC level or as a default via the storageclass.

ccremer commented 11 months ago

Hi. Please see #74 and the reason why it isn't part of this project.

gregwalters commented 11 months ago

Thanks for the response and sorry for not using the search function before creating this issue.