Add perf test namespace mapping when restore

Signed-off-by: Ming <mqiu@vmware.com>
This commit is contained in:
Ming
2023-11-07 06:25:13 +00:00
committed by Ming Qiu
parent 6b7ce6655d
commit 507157f812
16 changed files with 266 additions and 68 deletions

View File

@@ -21,6 +21,7 @@ import (
"github.com/google/uuid"
"github.com/vmware-tanzu/velero/pkg/cmd/cli/install"
. "github.com/vmware-tanzu/velero/test/util/k8s"
)
@@ -40,6 +41,7 @@ var ReportData *Report
type VeleroConfig struct {
VeleroCfgInPerf
*install.Options
VeleroCLI string
VeleroImage string
VeleroVersion string
@@ -66,7 +68,6 @@ type VeleroConfig struct {
AddBSLPlugins string
InstallVelero bool
KibishiiDirectory string
Features string
Debug bool
GCFrequency string
DefaultCluster string
@@ -74,12 +75,7 @@ type VeleroConfig struct {
ClientToInstallVelero *TestClient
DefaultClient *TestClient
StandbyClient *TestClient
UploaderType string
UseNodeAgent bool
UseRestic bool
ProvideSnapshotsVolumeParam bool
DefaultVolumesToFsBackup bool
UseVolumeSnapshots bool
VeleroServerDebugMode bool
SnapshotMoveData bool
DataMoverPlugin string
@@ -90,9 +86,10 @@ type VeleroConfig struct {
}
type VeleroCfgInPerf struct {
NFSServerPath string
TestCaseDescribe string
BackupForRestore string
NFSServerPath string
TestCaseDescribe string
BackupForRestore string
DeleteClusterResource bool
}
type SnapshotCheckPoint struct {