informatics-lab / s3-fuse-flex-volume

A Kubernetes flex volume driver for a custom s3 fuse adapter
BSD 3-Clause "New" or "Revised" License
31 stars 11 forks source link

added support for UID, GID in goofys #8

Closed koehn closed 5 years ago

koehn commented 5 years ago

This allows deployments to configure the UID and GID for which the owner and group of files should be set. It just passes them along to the goofys command line untouched. Note that this is not the username or group name, but the UID and GID from /etc/passwd. This allows the node to mount them to a UID/GID not present in /etc/passwd on the node, but present in the /etc/password of the container into which the volume is mounted.