add velero server flag to allow default restic use on all pod volumes

Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
This commit is contained in:
Ashish Amarnath
2020-06-05 15:34:02 -07:00
parent dd11b175ec
commit b71173228a
3 changed files with 16 additions and 0 deletions

View File

@@ -46,6 +46,10 @@ const (
// at which restic prune is run.
DefaultMaintenanceFrequency = 7 * 24 * time.Hour
// DefaultRestic specifies whether restic should be used, by default, to
// take backup of all pod volumes.
DefaultRestic = false
// PVCNameAnnotation is the key for the annotation added to
// pod volume backups when they're for a PVC.
PVCNameAnnotation = "velero.io/pvc-name"