nfs-subdir-external-provisioner
nfs-subdir-external-provisioner copied to clipboard
variable subtitution in pathPattern
I was hoping to use an annotation at times, but other times I would like it to fall back and instead use the pvc name.
pathPattern: "$${.PVC.namespace}-$${.PVC.annotations.nfs.io/storage-path}"
or if the annotation is unset,
pathPattern: "$${.PVC.namespace}-$${.PVC.name}"