Skip to content

Commit

Permalink
ibu mgmt: fix backup storage location
Browse files Browse the repository at this point in the history
  • Loading branch information
trewest committed Jun 24, 2024
1 parent d0ade6d commit 69ef7ea
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/lca/imagebasedupgrade/mgmt/internal/brutil/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ var WorkloadBackup = BackupRestoreObject{
ObjectMeta: metav1.ObjectMeta{
Name: mgmtparams.LCAWorkloadName,
Namespace: mgmtparams.LCAOADPNamespace,
Labels: map[string]string{
"velero.io/storage-location": "default",
},
},
Spec: velerov1.BackupSpec{
IncludedNamespaces: []string{
Expand All @@ -28,7 +31,6 @@ var WorkloadBackup = BackupRestoreObject{
ExcludedClusterScopedResources: []string{
"persistentVolumes",
},
StorageLocation: "default",
},
},
}
Expand Down Expand Up @@ -59,6 +61,9 @@ var KlusterletBackup = BackupRestoreObject{
ObjectMeta: metav1.ObjectMeta{
Name: mgmtparams.LCAKlusterletName,
Namespace: mgmtparams.LCAOADPNamespace,
Labels: map[string]string{
"velero.io/storage-location": "default",
},
},
Spec: velerov1.BackupSpec{
IncludedNamespaces: []string{
Expand All @@ -75,7 +80,6 @@ var KlusterletBackup = BackupRestoreObject{
"serviceaccounts",
"secrets",
},
StorageLocation: "default",
},
},
}
Expand Down

0 comments on commit 69ef7ea

Please sign in to comment.