Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
re-add installtype
Browse files Browse the repository at this point in the history
Signed-off-by: nshankar13 <nshankar@microsoft.com>
  • Loading branch information
SanyaKochhar authored and nshankar13 committed Jul 27, 2021
1 parent 41ac572 commit 5465e2b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/framework/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,20 @@ func OSMDescribe(name string, opts OSMDescribeInfo, body func()) bool {
return Describe(opts.String()+" "+name, body)
}

// InstallType defines several OSM test deployment scenarios
type InstallType string

const (
// SelfInstall uses current kube cluster, installs OSM using CLI
SelfInstall InstallType = "SelfInstall"
// KindCluster Creates Kind cluster on docker and uses it as cluster, OSM installs through CLI
KindCluster InstallType = "KindCluster"
// NoInstall uses current kube cluster, assumes an OSM is present in `OsmNamespace`
NoInstall InstallType = "NoInstall"
// RegistrySecretName is the default name for the container registry secret
RegistrySecretName = "acr-creds"
)

const (
// DefaultUpstreamServicePort is the default port on which the server apps listen for connections from client apps.
// Note: Port 80 should not be used because it does not work on OpenShift.
Expand Down

0 comments on commit 5465e2b

Please sign in to comment.