rename pvbr param (#5370)

Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
This commit is contained in:
lyndon
2022-09-23 09:13:36 +08:00
committed by GitHub
parent 100d462ec0
commit c81f0db886
35 changed files with 491 additions and 334 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ func (n *NamespaceMapping) StartRun() error {
n.BackupArgs = []string{
"create", "--namespace", VeleroCfg.VeleroNamespace, "backup", n.BackupName,
"--include-namespaces", strings.Join(*n.NSIncluded, ","),
"--default-volumes-to-restic", "--wait",
"--default-volumes-to-fs-backup", "--wait",
}
n.RestoreArgs = []string{
"create", "--namespace", VeleroCfg.VeleroNamespace, "restore", n.RestoreName,
+1 -1
View File
@@ -81,7 +81,7 @@ func (m *MultiNSBackup) StartRun() error {
m.BackupArgs = []string{
"create", "--namespace", VeleroCfg.VeleroNamespace, "backup", m.BackupName,
"--exclude-namespaces", strings.Join(*m.NSExcluded, ","),
"--default-volumes-to-restic", "--wait",
"--default-volumes-to-fs-backup", "--wait",
}
m.RestoreArgs = []string{
@@ -56,7 +56,7 @@ func (n *NSAnnotationCase) Init() error {
n.BackupArgs = []string{
"create", "--namespace", VeleroCfg.VeleroNamespace, "backup", n.BackupName,
"--include-namespaces", strings.Join(*n.NSIncluded, ","),
"--default-volumes-to-restic", "--wait",
"--default-volumes-to-fs-backup", "--wait",
}
n.RestoreArgs = []string{
+1 -1
View File
@@ -71,7 +71,7 @@ func (r *RBACCase) Init() error {
r.BackupArgs = []string{
"create", "--namespace", VeleroCfg.VeleroNamespace, "backup", r.BackupName,
"--include-namespaces", strings.Join(*r.NSIncluded, ","),
"--default-volumes-to-restic", "--wait",
"--default-volumes-to-fs-backup", "--wait",
}
r.RestoreArgs = []string{