mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-20 23:14:17 +00:00
Make change to support VKS environment.
FYI, the TKGm envrionment support is deprecated. Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
This commit is contained in:
+11
-4
@@ -22,7 +22,7 @@ import (
|
||||
"github.com/google/uuid"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/cmd/cli/install"
|
||||
. "github.com/vmware-tanzu/velero/test/util/k8s"
|
||||
"github.com/vmware-tanzu/velero/test/util/k8s"
|
||||
)
|
||||
|
||||
const StorageClassName = "e2e-storage-class"
|
||||
@@ -40,6 +40,13 @@ const Vsphere = "vsphere"
|
||||
|
||||
const UploaderTypeRestic = "restic"
|
||||
|
||||
const (
|
||||
KubeSystemNamespace = "kube-system"
|
||||
VSphereCSIControllerNamespace = "vmware-system-csi"
|
||||
VeleroVSphereSecretName = "velero-vsphere-config-secret"
|
||||
VeleroVSphereConfigMapName = "velero-vsphere-plugin-config"
|
||||
)
|
||||
|
||||
var PublicCloudProviders = []string{AWS, Azure, Gcp, Vsphere}
|
||||
var LocalCloudProviders = []string{Kind, VanillaZFS}
|
||||
var CloudProviders = append(PublicCloudProviders, LocalCloudProviders...)
|
||||
@@ -87,9 +94,9 @@ type VeleroConfig struct {
|
||||
GCFrequency string
|
||||
DefaultClusterContext string
|
||||
StandbyClusterContext string
|
||||
ClientToInstallVelero *TestClient
|
||||
DefaultClient *TestClient
|
||||
StandbyClient *TestClient
|
||||
ClientToInstallVelero *k8s.TestClient
|
||||
DefaultClient *k8s.TestClient
|
||||
StandbyClient *k8s.TestClient
|
||||
ClusterToInstallVelero string
|
||||
DefaultClusterName string
|
||||
StandbyClusterName string
|
||||
|
||||
Reference in New Issue
Block a user