upgradeparams

package
v0.0.0-...-3439013 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label represents accel label that can be used for test cases selection.
	Label = "upgrade"
	// Y stream.
	Y = "Y"
	// Z stream.
	Z = "Z"
	// X stream.
	X = "X"
)

Variables

View Source
var (
	// Labels represents the range of labels that can be used for test cases selection.
	Labels = []string{accelparams.Label, Label}
	// DeploymentName is the name of the test workload.
	DeploymentName = "test-workload"
	// TestNamespaceName is the namespace where the workload is deployed.
	TestNamespaceName = "accel-upgrade-workload-ns"
	// ContainerLabelsMap labels in an map used when creating the workload container.
	ContainerLabelsMap = map[string]string{"app": DeploymentName}
	// ContainerLabelsStr labels in a str used when creating the workload container.
	ContainerLabelsStr = fmt.Sprintf("%s=%s", "app", DeploymentName)
	// ServicePort is the workload service port.
	ServicePort int32 = 8080
	// ReporterNamespacesToDump tells to the reporter from where to collect logs.
	ReporterNamespacesToDump = map[string]string{"test-workload": "test-workload",
		"accel-upgrade-workload-ns": "accel-upgrade-workload-ns"}
	// ReporterCRDsToDump tells to the reporter what CRs to dump.
	ReporterCRDsToDump = []k8sreporter.CRData{
		{Cr: &corev1.PodList{}},
		{Cr: &v1.ClusterOperatorList{}},
		{Cr: &v1.ClusterVersionList{}},
	}

	// DefaultSC is the default security context for the containers.
	DefaultSC = &corev1.SecurityContext{
		AllowPrivilegeEscalation: &falseFlag,
		RunAsNonRoot:             &trueFlag,
		SeccompProfile: &corev1.SeccompProfile{
			Type: "RuntimeDefault",
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL