pb-2081: In kdmp case, resetting the Datasource field of pvc for restore.
@@ -624,6 +624,7 @@ func (k *kdmp) getRestorePVCs(
}
}
pvc.Spec.VolumeName = ""
+ pvc.Spec.DataSource = nil
if pvc.Annotations != nil {
delete(pvc.Annotations, bindCompletedKey)
delete(pvc.Annotations, boundByControllerKey)
