local-path-provisioner
local-path-provisioner copied to clipboard
feature: add support to set folderName on PVC
Whenever a PV is dynamically created, a directory is generated with the following name $persistentVolumeName_$persistentVolumeClaimNamespace_$persistentVolumeClaimName.
It would be helpful if we can decide what the directory name of the generated directory would be up front. This could be done by setting an annotation on the persistent volume claim.
annotations:
folderName: fooBar
This logic is included in the following PR: https://github.com/rancher/local-path-provisioner/pull/372