I use the local storage provisioner with LVM, and I have encountered a few times now where the folder being created is exceeding the Logical Volume name length limit. I would like to introduce a new boolean field in the config for the provisioner called shortenedFolderName that, when set, creates the folder with the same name as that of the PV (aka pvc-<uuid>).
The default naming convention will still be the same as the current implementation (that being <PV name>-<PVC namespace>-<PVC name>).
Context
I use the local storage provisioner with LVM, and I have encountered a few times now where the folder being created is exceeding the Logical Volume name length limit. I would like to introduce a new boolean field in the config for the provisioner called
shortenedFolderName
that, when set, creates the folder with the same name as that of the PV (akapvc-<uuid>
).The default naming convention will still be the same as the current implementation (that being
<PV name>-<PVC namespace>-<PVC name>
).