fstab / cifs

CIFS Flexvolume Plugin for Kubernetes
MIT License
212 stars 49 forks source link

Add guest and read-only mount support #9

Open ananace opened 5 years ago

ananace commented 5 years ago

The Kubernetes field readOnly helpfully offers the strings "ro" or "rw", so it's easy to map them into the mount option string.

This will also make mountOptions optional, as it's quite common to not want any additional options when mounting things as guest.