constants

package
v0.0.0-...-6241ad3 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// OperatorName is a operator name
	OperatorName = "jenkins-operator"
	// ServiceName
	DefaultService     = "jenkins-jenkins-with-all"
	DefaultJnlpService = "jenkins-jenkins-with-all-jnlp"
	// DefaultAmountOfExecutors is the default amount of Jenkins executors
	DefaultAmountOfExecutors = 0
	// SeedJobSuffix is a suffix added for all seed jobs
	SeedJobSuffix = "job-dsl-seed"
	// DefaultJenkinsMasterImage is the default Jenkins master docker image
	DefaultJenkinsMasterImage = "jenkins/jenkins:lts"
	// DefaultJenkinsMasterImage is the default Jenkins master docker image
	DefaultOpenShiftJenkinsMasterImage = "registry.redhat.io/openshift4/ose-jenkins:v4.7"
	// DefaultHTTPPortInt32 is the default Jenkins HTTP port
	DefaultHTTPPortInt32 = int32(8080)
	// DefaultJNLPPortInt32 is the default Jenkins port for slaves
	DefaultJNLPPortInt32 = int32(50000)
	// JavaOptsVariableName is the name of environment variable which consists Jenkins Java options
	JavaOptsVariableName = "JAVA_OPTS"
	// JavaOptsDefaultValue default value for JAVA_OPTS if not set
	JavaOptsDefaultValue = "" /* 215-byte string literal not displayed */

	// KubernetesTrustCertsVariableName KUBERNETES_TRUST_CERTIFICATES var name. Tells the kubernetes plugin if it should trust the kubernetes certificate
	KubernetesTrustCertsVariableName = "KUBERNETES_TRUST_CERTIFICATES"

	// KubernetesTrustCertsDefaultValue Tells the kubernetes plugin if it should trust the kubernetes certificate
	KubernetesTrustCertsDefaultValue = "true"

	// JenkinsStatusCompleted is the completed status value.
	JenkinsStatusCompleted = "Completed"
	// JenkinsStatusReinitializing is the status given if Jenkins instance is being recreated
	JenkinsStatusReinitializing = "Reinitializing"
	// DefaultJenkinsMasterContainerName is the Jenkins master container name in pod
	DefaultJenkinsMasterContainerName = "jenkins"
	// DefaultJenkinsSideCarImage is the default jenkins sidecar image
	DefaultJenkinsSideCarImage = "quay.io/redhat-developer/jenkins-kubernetes-sidecar:0.1.144"
	// DefaultJenkinsBackupImage is the default ubi minimal image
	DefaultJenkinsBackupImage = "ubi8/ubi-minimal:latest"
)
View Source
const (
	// LabelAppKey application Kubernetes label name
	LabelAppKey = "app"
	// LabelAppValue application Kubernetes label value
	LabelAppValue = "jenkins"

	// LabelWatchKey Kubernetes label used to enable watch for reconcile loop
	LabelWatchKey = "watch"
	// LabelWatchValue Kubernetes label value to enable watch for reconcile loop
	LabelWatchValue = "true"

	// LabelJenkinsCRKey Kubernetes label name which contains Jenkins CR name
	LabelJenkinsCRKey = "jenkins-cr"
)

Variables

This section is empty.

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