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

Dynamically have provisioning parameters for pvc #54

Closed
kingnarmer opened this issue Jan 22, 2024 · 5 comments
Closed

Dynamically have provisioning parameters for pvc #54

kingnarmer opened this issue Jan 22, 2024 · 5 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request next release This will be closed in the next release

Comments

@kingnarmer
Copy link

kingnarmer commented Jan 22, 2024

Make "extra-create-metadata" parameters available at the time pvc is created . Ex: Be able to dynamically add pvc namespace to description section.

something like

description: "PVC created on ${paramters.namespace}"

@datamattsson datamattsson added documentation Improvements or additions to documentation enhancement New feature or request next release This will be closed in the next release labels Jan 22, 2024
@datamattsson datamattsson self-assigned this Jan 22, 2024
@datamattsson
Copy link
Collaborator

datamattsson commented Jan 22, 2024

I'm getting a bit of Deja Vu here as I think I've mean to implement this somewhere. Either in the upstream CSI driver or the CSP. They way this would work is that you'll have access to {pvc} and {namespace} for the description field.

Like: description: "PVC created on {namespace}"

@kingnarmer
Copy link
Author

@datamattsson Do you mean it should work now ? Like if I set the description on the Storage class to description: "PVC created on {namespace}" ?

@datamattsson
Copy link
Collaborator

I could not find any traces of it, but I'll add it to the next release.

@datamattsson
Copy link
Collaborator

This is now included in v2.4.2.

I forgot to document it and will include that in the next update. You can use {pv} {pvc} and {namespace} in the description now.

@datamattsson
Copy link
Collaborator

Updated docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request next release This will be closed in the next release
Projects
None yet
Development

No branches or pull requests

2 participants