-
Notifications
You must be signed in to change notification settings - Fork 275
Open
Description
What happened:
In the subdir field of the storage class, I am using
subDir: ${pvc.metadata.namespace}/${pvc.metadata.name}
The namespace is correct, but the name returns "prime-$UID", such as:
prime-968efac8-99c2-430d-8731-7714e424ad44
This gives no way of identifying the disk on the NFS server, especially if the server on which the PVC was originally created was lost.
The use case here is that a user could either re-attach a PVC, or delete the PVC, when re-installing a host and re-creating VMs under that host using NFS-backed storage.
Environment:
- CSI Driver version: 4.7.0 (openshift fork)
- Kubernetes version (use
kubectl version
): v1.29.6 - OS (e.g. from /etc/os-release): Red Hat Enterprise Linux CoreOS 416.94.202407171205-0
- Kernel (e.g.
uname -a
): Linux spt01.gl1.tfdm.nas.faa.gov 5.14.0-427.26.1.el9_4.x86_64 SMP PREEMPT_DYNAMIC Fri Jul 5 11:34:54 EDT 2024 x86_64 x86_64 x86_64 GNU/Linux - Install tools:
- Others:
Metadata
Metadata
Assignees
Labels
No labels