Closed akankshapanse closed 1 month ago
/ok-to-test
/approve
/lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: akankshapanse, deepakkinni, xing-yang
The full list of commands accepted by this bot can be found here.
The pull request process is described here
What this PR does / why we need it: This MR creates StoragePolicyUsage of VolumeSnapshotKind kind during full sync, if not created already during policyQuotaCRAdded() call. This change also fixes updating of StoragePolicyUsage of snapshot kind incorrectly with used capacity of PVCs due to missing resource kind check during patch in storagePolicyUsageCRSync().
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:
Before fix: There are 2 PVC of size 1Gi each and no snapshot present
After fix and STORAGE_QUOTA_M2 FSS enabled:
Special notes for your reviewer:
Release note: