Files
velero/pkg/util
Shubham Pampattiwar f65652bfc3 Add secret copy utilities for backup PVC provisioning
Add CopySecret, DeleteSecretIfAny, and DeleteSecretsWithLabel utilities
for copying namespace-scoped secrets to the Velero namespace during
datamover backup PVC creation.

CopySecret handles three cases:
- Secret does not exist in target: copies it with a tracking label
- Secret exists with same data: no-op (same source namespace)
- Secret exists with different data: returns ErrSecretCollision so the
  caller can requeue

Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
2026-08-18 10:28:27 -07:00
..
2026-06-10 15:54:17 +08:00
2024-04-10 14:53:29 +08:00
2024-04-10 14:53:29 +08:00
2025-02-25 10:44:45 +08:00