Skip to content
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

[cinder-csi-plugin] How to set my own description when creating a PV #2573

Open
Ketchup31 opened this issue Apr 10, 2024 · 2 comments
Open

Comments

@Ketchup31
Copy link

Ketchup31 commented Apr 10, 2024

Is this a BUG REPORT or FEATURE REQUEST?:

/kind feature

Hello,

I wish to know if it is possible to set my own desciption of the PV when I request a new volume instead of to have "Created by OpenStack Cinder CSI driver" in openstack volume description.
I wish to fill this description with particular infos like a userID, timestamp and any usefull info for my app.

If it is not possible, do you intend to implement such feature, as we saw in the source code that "Created by OpenStack Cinder CSI driver" is hard coded.

Thank you for your support.

@Ketchup31 Ketchup31 changed the title [cinder-csi-plugin] How to set my own description when creating of a PV [cinder-csi-plugin] How to set my own description when creating a PV Apr 10, 2024
@dulek
Copy link
Contributor

dulek commented Apr 11, 2024

It's currently not possible. I don't think description field is semantically valid for the information you want to put there. Sounds like a job for tags, which was previously requested in #2436. It's a valid request in my opinion, but I'm not sure anyone with development resources is looking into this. If you're interested, I dropped a bunch of clues on how to implement that in #2436.

@jichenjc
Copy link
Contributor

yes, I think @dulek already provide very good summary here
#2436 (comment)

@Ketchup31 do you want to submit PR for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants