Summary
The kubevirt datamover plugin currently checks for snapshot volume policy action to determine if a VM should be backed up via the kubevirt datamover.
Once upstream Velero changes are merged (adding support for custom volume policy actions), this should be updated to check for custom action type and inspect the action parameters map to verify it's for kubevirt (not some other custom action).
Related
TODO
Summary
The kubevirt datamover plugin currently checks for
snapshotvolume policy action to determine if a VM should be backed up via the kubevirt datamover.Once upstream Velero changes are merged (adding support for custom volume policy actions), this should be updated to check for
customaction type and inspect the action parameters map to verify it's for kubevirt (not some other custom action).Related
TODO
checkVolumePoliciesto check forcustomaction typecommon/types.go