Files
velero/pkg
Shubham Pampattiwar a5e3c25fc9 Fix excluded namespace objects leaking into backup with cross-namespace listing
When getNamespacesToList returns "" (cross-namespace listing), resources
from all namespaces are listed. The nsTracker.track call for each
resource's namespace would inadvertently track excluded namespaces,
causing their namespace objects to pass through filterNamespaces.

Add a ShouldInclude check before tracking a namespace from non-namespace
resources to ensure excluded namespaces are not tracked.

Add test case for includedNamespaces ["*"] with excludedNamespaces to
verify both the namespace object exclusion and resource exclusion.

Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
2026-06-10 10:04:14 -07: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