You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
include additional volume policy actions in validation
Don't validate volume policies from plugin calls, since
those have alreay been validated for the backup.
Signed-off-by: Scott Seago <sseago@redhat.com>
request.Status.ValidationErrors=append(request.Status.ValidationErrors, "encountered labelSelector as well as orLabelSelectors in backup spec, only one can be specified")
Copy file name to clipboardExpand all lines: site/content/docs/main/resource-filtering.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -363,6 +363,8 @@ There are three actions supported via the VolumePolicy feature:
363
363
* snapshot: back up the action matching volume's data by the snapshot way.
364
364
* fs-backup: back up the action matching volumes' data by the fs-backup way.
365
365
366
+
Note that if you are using an external plugin which implements a volume policy that is not one of the above, you need to use the installer/server flag `--additional-volume-policy-actions=custom-action1,custom-action2` to enable validation to work, as Velero's backup validation also validates the volume policy actions.
367
+
366
368
#### Supported conditions
367
369
368
370
Currently, Velero supports the volume attributes listed below:
0 commit comments