mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-13 11:34:54 +00:00
- Make CopySecret/CopyConfigMap accept a generic labels map instead of hardcoding the backup-pvc-secret label, aligning with the generic DeleteSecretsWithLabel helper. Move the BackupPVCSecretLabel constant from util/kube to the exposer package where it is used. - Move the secret/configmap copy in Expose() to after WaitVolumeSnapshotReady and before createBackupVS. That is the most likely failure point, and nothing needs cleanup before it. Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>