Files
velero/pkg
Adam Zhang c17d6a0a04 Fix DataUpload list scope in CSI PVC backup plugin
The `getDataUpload` function in the CSI PVC backup plugin was
previously making a cluster-scoped list query to retrieve DataUpload
CRs. In environments with strict minimum-privilege RBAC, this would
fail with forbidden errors.
This explicitly passes the backup namespace into the `ListOptions`
when calling `crClient.List`, correctly scoping the queries to the
backup's namespace. Unit tests have also been updated to ensure
cross-namespace queries are rejected appropriately.

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>
2026-04-13 14:52:33 +08:00
..
2025-07-22 15:56:04 +08:00
2023-04-16 12:49:55 -04:00
2025-12-31 15:42:14 +08:00
2025-12-18 14:18:04 +08:00
2025-11-26 14:16:42 +08:00
2026-01-14 17:45:01 +08:00
2026-03-16 13:54:57 +08:00