Closed M0NsTeRRR closed 3 weeks ago
@M0NsTeRRR so you need to specify subDir
parameter in your storage class
@M0NsTeRRR so you need to specify
subDir
parameter in your storage class subDir | sub directory under nfs share | | No | if sub directory does not exist, this driver would create a new one -- | -- | -- | -- | --
Yes, I tried that, but unfortunately, it prevents me from binding the same folder twice, like folder1
across two PVCs (differents applications) whereas csi-driver-smb
allows it.
I will retry and let you know, maybe I've missed something.
I retested it, and it worked! Not sure what I did wrong the first time to cause the error. Sorry for the noise.
Is your feature request related to a problem?/Why is this needed I would like to have the ability to create a storage class and PVCs that use the same folder, without needing to create a separate PV/PVC without a storage class for each app (we have a lot of apps).
Filesystem tree
instead of
Describe the solution you'd like in detail A solution like csi-driver-smb.
With this storage class, when I create a PVC, it automatically generates the associated PV and allows me to bind directly to the folder inside the SMB mount without creating a separate folder with the PVC name.
Describe alternatives you've considered Running SMB instead.
Additional context