I have tried setting a value for singleuser.storage.dynamic.volumeNameTemplate as described in the configuration reference. However the names of the dynamically created volumes are not following the template.
I just hit this same problem using AWS EFS, I think that volumeNameTemplate changes the Volume of the pod as seen by kubernetes, but not the underlying name of the created folder. Volumes | Kubernetes
I was able to get the folder to have the right name with config like this: