mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-27 18:34:18 +00:00
PodVolumeRestores are only created for pods that Velero creates, so when the pod already exists in the cluster the PVC-not-in-use pre-flight check never runs and the volume data restore is skipped silently, while the existing pod keeps consuming the PVC. Report an explicit pre-flight error for such pods, aligned with the PVC CSI RIA behavior. Signed-off-by: chlins <chlins.zhang@gmail.com>
2 lines
73 B
Plaintext
2 lines
73 B
Plaintext
Fail the in-place restore pre-flight check when the backed-up pod exists
|