kubernetes-sigs / vsphere-csi-driver

vSphere storage Container Storage Interface (CSI) plugin
https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/index.html
Apache License 2.0
288 stars 173 forks source link

Add informer for CnsVolumeInfo objects #2943

Open deepakkinni opened 1 week ago

deepakkinni commented 1 week ago

What this PR does / why we need it: Adds an informer for CnsVolumeInfo objects. The event handler is responsible for updating VolumeSnapshot StoragePolicyUsage "used" capacity.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Testing done: Verified that the informer can start.

Special notes for your reviewer:

Release note:

k8s-ci-robot commented 1 week ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deepakkinni

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubernetes-sigs/vsphere-csi-driver/blob/master/OWNERS)~~ [deepakkinni] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
deepakkinni commented 1 week ago

/test pull-vsphere-csi-driver-build