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

Feature PVC Tagging labels #478

Closed
chris93111 opened this issue Sep 4, 2024 · 3 comments
Closed

Feature PVC Tagging labels #478

chris93111 opened this issue Sep 4, 2024 · 3 comments

Comments

@chris93111
Copy link

Hello

FEATURE REQUEST:

Allow tagging PVC with labels or annotations in resource

service.beta.kubernetes.io/oci-pvc-additional-resource-tags: '{"appname": "name", "namespace": "appnamespace"}'

This allow identify app usage in oci cloud

@AkarshES
Copy link
Contributor

Unfortunately the generic CSI does not in anyway pass the Kubernetes annotations for supporting the equivalent to what we support for LBs. @mrunalpagnis please share if this would be possible in any way

@mrunalpagnis
Copy link
Member

Tagging is supported in block volumes in CSI via Storage class. CSI does not support annotations on PVC
https://kubernetes-csi.github.io/docs/external-provisioner.html
kubernetes-csi/external-provisioner#86

@chris93111
Copy link
Author

Tagging is supported in block volumes in CSI via Storage class. CSI does not support annotations on PVC https://kubernetes-csi.github.io/docs/external-provisioner.html kubernetes-csi/external-provisioner#86

Thanks @mrunalpagnis

Ok , is possible to add tags namespace, pvc name or pod name based on csi mount ?

Vsphere makes it with CNS

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