-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Volume name and volume ID must be different? #399
Comments
Please see #343 |
|
Thanks for the answers, @wnxn that's exactly how my driver is working now except for the fact that my storage system does not have volume ids, it just has volume names. So my driver is obeying to:
@gman0 from #343 I understand that having
and no suggestion on how to set these attributes if your storage system does not allow setting a |
If your storage system is only allowed to set volume name, you cloud set volume name to CSI suggested name and regard the volume name as primary key.
|
Hi, opening an issue for this since I can't find the answer in the other ones.
I implemented a CSI driver way back when the spec said something along the lines of "Volume name and volume ID MUST be different".
My issue is that I use this driver on k8s and users get confused by the
volumeHandle
field of the PersistentVolume resource (specifically when doing static provisioning), usually they fill it with the volume name instead of the volume ID, causing CSI failures.I don't really need to make the volume ID differ from the volume name, so I'm thinking of making them equal. But before doing that I would like to ask, is this not advised? Why?
fyi, the only place in the current spec that seems to talk about this is:
The text was updated successfully, but these errors were encountered: