mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 13:55:20 +00:00
issue 7583: set backupName optional for Restore CRD
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
This commit is contained in:
@@ -26,7 +26,8 @@ import (
|
||||
type RestoreSpec struct {
|
||||
// BackupName is the unique name of the Velero backup to restore
|
||||
// from.
|
||||
BackupName string `json:"backupName"`
|
||||
// +optional
|
||||
BackupName string `json:"backupName,omitempty"`
|
||||
|
||||
// ScheduleName is the unique name of the Velero schedule to restore
|
||||
// from. If specified, and BackupName is empty, Velero will restore
|
||||
|
||||
Reference in New Issue
Block a user