oci-cloud-controller-manager icon indicating copy to clipboard operation
oci-cloud-controller-manager copied to clipboard

Feature PVC Tagging labels

Open chris93111 opened this issue 1 year ago • 1 comments

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

chris93111 avatar Sep 04 '24 12:09 chris93111

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

AkarshES avatar Oct 21 '24 09:10 AkarshES

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 https://github.com/kubernetes-csi/external-provisioner/issues/86

mrunalpagnis avatar Dec 02 '24 11:12 mrunalpagnis

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

chris93111 avatar Dec 02 '24 19:12 chris93111