Closed alromeros closed 3 weeks ago
Squashed the two commits and addressed the comments about using HasAnnotation
. Other than that I'm waiting for input regarding your other comment. Thanks!
/lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: mhenriks
The full list of commands accepted by this bot can be found here.
The pull request process is described here
What this PR does / why we need it:
This Pull Request aims to implement the
MetadataBackup
label, which allows to bypass restore-specific checks during backup.This feature allows safely backing up resources such as VirtualMachines and VirtualMachineInstances even when restore conditions are not met, such as when DVs or PVCs are excluded from the backup.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged): Fixes # https://github.com/kubevirt/kubevirt-velero-plugin/issues/259Special notes for your reviewer:
Feel free to discuss/oppose the annotation approach. I think this is the cleanest way to ignore restore checks for a specific object, but we may consider other alternatives.
Release note: