mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-03 14:47:08 +00:00
Pass default-volumes-to-restic flag from create schedule to backup (#2776)
* Pass default-volumes-to-restic flag from create schedule to backup Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Pass default-volumes-to-restic flag from create schedule to backup
|
||||
@@ -133,6 +133,7 @@ func (o *CreateOptions) Run(c *cobra.Command, f client.Factory) error {
|
||||
TTL: metav1.Duration{Duration: o.BackupOptions.TTL},
|
||||
StorageLocation: o.BackupOptions.StorageLocation,
|
||||
VolumeSnapshotLocations: o.BackupOptions.SnapshotLocations,
|
||||
DefaultVolumesToRestic: o.BackupOptions.DefaultVolumesToRestic.Value,
|
||||
},
|
||||
Schedule: o.Schedule,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user