-
Notifications
You must be signed in to change notification settings - Fork 324
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
Pass k8s API metadata through parameters in CreateVolume #370
Comments
existing tags in k8s for PD are of the form: |
There is a long discussion in #86. Technically, I would perhaps reuse expansion introduced in #69 to all parameters, so it's more obvious. Passing PVC name + namespace + PV name would not harm. Passing PVC annotations (as introduced by the PR) is a topic for discussion, as it makes PVC not portable across clusters. |
I would like to avoid the sticky topic of passing in annotations and just get the parameters for PVC name, namespace, PV name for now. Wondering if anyone is working on that or if I wanted to use it in the near future if I would have to pick that up :) |
Nobody that I know about. However, it should be a relatively simple PR, right? All the variable expansion is already done, we just need to extend it to all |
I will pick it up |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
didn't have time to work on this - the issue is available to pick up by anyone if interested. I will comment on this issue if I start working on it actively |
/assign |
Hi @hoyho, are you already working on this one? I happen to need this feature quite urgently and can take care of making the change if you want |
How would the PV name be used? Isn't it the same as the volume name today in the CreateVolume request? |
@yoesmat volume name is generally |
@travisghansen, I understand why the PVC name/namespace is useful. I am asking about PV name. |
@yoesmat ok, I must have misunderstood the question. Thanks! |
Thanks @travisghansen :)! |
…ools-0823 Update release tools
/kind feature
There is a use case for passing in k8s API metadata through parameters in CreateVolume. For example this information could be used by drivers to label underlying resources and associate them with k8s objects.
This could be done through a reserved parameter namespace e.g.
kubernetes.io/pvc.name
,kubernetes.io/pvc.namespace
It could be enabled by a flag so that it is not a breaking change (since some drivers may do strict validation on their own well-known parameters).
/cc @jsafrane @msau42
The text was updated successfully, but these errors were encountered: