Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions tests/e2e/constants/env_constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,13 @@ const (
EnsureAccessibilityMModeType = "ensureObjectAccessibility"
EnvClusterFlavor = "CLUSTER_FLAVOR"
EnvDiskSizeLarge = "LARGE_DISK_SIZE"
EnvClusterName = "CLUSTER_NAME"
EnvCSINamespace = "CSI_NAMESPACE"
EnvContentLibraryUrl = "CONTENT_LIB_URL"
EnvContentLibraryUrlSslThumbprint = "CONTENT_LIB_THUMBPRINT"
EnvEsxHostIP = "ESX_TEST_HOST_IP"
EnvFileServiceDisabledSharedDatastoreURL = "FILE_SERVICE_DISABLED_SHARED_VSPHERE_DATASTORE_URL"
EnvFileShareDomainID = "FILE_SHARE_DOMAIN_ID"
EnvFullSyncWaitTime = "FULL_SYNC_WAIT_TIME"
EnvGatewayVmIp = "GATEWAY_VM_IP"
EnvGatewayVmUser = "GATEWAY_VM_USER"
Expand Down Expand Up @@ -215,3 +217,11 @@ const (
EnvVpToCsi = "VCPTOCSI"
EnvVsphereTKGSystemNamespace = "VSPHERE_TKG_SYSTEM_NAMESPACE"
)

// for devops persona testing
const (
EnvAdminKubeconfig = "ADMIN_KUBECONFIG"
EnvDevopsKubeconfig = "DEVOPS_KUBE_CONFIG"
EnvIsDevopsUser = "IS_DEVOPS_USER"
EnvDevopsUserName = "DEVOPS_USERNAME"
)
9 changes: 9 additions & 0 deletions tests/e2e/constants/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const (
DefaultrqLimit = "20Gi"
RqStorageType = ".storageclass.storage.k8s.io/requests.storage"
ResizerContainerName = "csi-resizer"
ReadWritePermission = "READ_WRITE"
ScParamDatastoreURL = "DatastoreURL"
ScParamFsType = "csi.storage.k8s.io/fstype"
ScParamStoragePolicyID = "storagePolicyID"
Expand Down Expand Up @@ -194,3 +195,11 @@ var UsageSuffixes = []string{
"-vm-usage",
"-latebinding-vm-usage",
}

// for devops persona testing
const (
RbacApiGroup = "rbac.authorization.k8s.io"
RoleKeyword = "Role"
AudienceForSvcAccountName = "https://kubernetes.default.svc.cluster.local"
ServiceAccountKeyword = "ServiceAccount"
)
1 change: 1 addition & 0 deletions tests/e2e/constants/test_suite_level.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ const (
Vc90 = "vc90"
Vc80 = "vc80"
Vc70 = "vc70"
Vc901 = "vc901"
Wldi = "wldi"
VmServiceVm = "vmServiceVm"
VcptocsiTest = "vcptocsiTest"
Expand Down
2 changes: 2 additions & 0 deletions tests/e2e/constants/vsan_constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ const (
HealthRed = "red"
HealthStatusAccessible = "accessible"
HealthStatusInAccessible = "inaccessible"
VsanClusterFileServiceSystem = "vsan-cluster-file-service-system"
VsanFileServiceType = "VsanFileServiceSystem"
)
1 change: 1 addition & 0 deletions tests/e2e/constants/vsphere_constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const (
EztAllocType = "Fully initialized"
LztAllocType = "Reserve space"
Nfs4FSType = "nfs4"
Nfs4Keyword = "NFSv4.1"
ObjOrItemNotFoundErr = "The object or item referred to could not be found"
ProviderPrefix = "vsphere://"
)
Loading