# Functions
BuildResourceLabels returns labels for all Kubernetes resources created by operator.
No description provided by the author
GetBasePluginsVolumeNameConfigMapName returns name of Kubernetes config map used to init configuration.
GetDestinationRepository returns the destination repository matching To.Repository/To.Name:To.Tag or default to openshift-image-registry if running on openshift or --no-push otherwise.
GetDockerBuilderSecretName returns the *first* Docker secret used for pushing images into the openshift registry in the current namespace or empty string.
No description provided by the author
No description provided by the author
GetInitConfigurationConfigMapName returns name of Kubernetes config map used to init configuration.
GetJenkinsDeploymentName returns Jenkins deployment name for given CR.
No description provided by the author
No description provided by the author
GetJenkinsDeploymentName returns Jenkins deployment name for given CR.
GetJenkinsHTTPServiceName returns Kubernetes service name used for expose Jenkins HTTP endpoint.
GetJenkinsJNLPServiceName returns Kubernetes service name used for expose Jenkins JNLP endpoint.
GetJenkinsMasterContainerBaseEnvs returns Jenkins master pod envs required by operator.
GetJenkinsMasterContainerBaseVolumeMounts returns Jenkins master pod volume mounts required by operator.
GetJenkinsMasterPodBaseVolumes returns Jenkins master pod volumes required by operator.
GetOperatorCredentialsSecretName returns name of Kubernetes secret used to store jenkins operator credentials to allow calls to Jenkins API.
No description provided by the author
GetResourceName returns name of Kubernetes resource base on Jenkins CR.
No description provided by the author
No description provided by the author
IsImageRegistryAvailable tells if the openshift image registry is installed and working.
No description provided by the author
No description provided by the author
IsOverridden returns true if the given container overrides proxy env variable(s).
IsRouteAPIAvailable tells if the Route API is installed and discoverable.
NewBasePluginConfigMap builds Kubernetes config map used for base plugins.
NewBuilderPod returns a busybox pod with the same name/namespace as the cr.
NewDefaultPolicyRules sets the default policy rules.
NewDockerfileConfigMap returns a busybox pod with the same name/namespace as the cr.
NewInitConfigurationConfigMap builds Kubernetes config map used to init configuration.
No description provided by the author
NewJenkinsConfigInitContainer returns Jenkins init container to copy configmap to make it writable.
NewJenkinsConfigContainer returns Jenkins side container for config reloading.
NewJenkinsConfigInitContainer returns Jenkins init container to copy configmap to make it writable.
NewJenkinsMasterPod builds Jenkins Master Kubernetes Pod resource.
NewJenkinsMasterContainer returns Jenkins master Kubernetes container.
NewJenkinsPluginsInitContainer returns Jenkins init container to install required based plugins.
NewOperatorCredentialsSecret builds the Kubernetes secret used to store jenkins operator credentials to allow calls to Jenkins API.
NewPolicyRule returns a policyRule allowing verbs on resources.
No description provided by the author
TODO Remove this meta object stuff and use Jenkins instead NewResourceObjectMeta builds ObjectMeta for all Kubernetes resources created by operator.
No description provided by the author
NewRole returns rbac role for jenkins master.
NewRoleBinding returns rbac role binding for jenkins master.
NewScriptsConfigMap builds Kubernetes config map used to store scripts.
NewServiceAccount return Kubernetes service account.
No description provided by the author
No description provided by the author
No description provided by the author
UpdateRoute returns new route matching the service.
UpdateService returns new service with override fields from config.
Poll up to timeout seconds for pod to enter running state.
Poll up to timeout seconds for pod to enter running state.
# Constants
No description provided by the author
No description provided by the author
BasePluginsVolumePath is a path where the base-plugins file is generated.
BuildAPIGroup the openshift api group name for builds.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Names of Sidecar and Init Containers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EmptyAPIGroup short hand for the empty API group while defining policies.
ImageAPIGroup the openshift api group name for images.
InitScriptName is the init script name which configures init.groovy.d, scripts and install plugins.
No description provided by the author
Backup Sidecar related variables.
No description provided by the author
defaut configmap for jenkins configuration.
JenkinsHomeVolumeName is the Jenkins home volume name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Config Sidecar related variables.
JenkinsScriptsVolumePath is a path where are scripts used to configure Jenkins.
No description provided by the author
No description provided by the author
OperatorCredentialsSecretPasswordKey defines key of password in operator credentials secret.
OperatorCredentialsSecretTokenCreationKey defines key of token creation time in operator credentials secret.
OperatorCredentialsSecretTokenKey defines key of token in operator credentials secret.
OperatorCredentialsSecretUserNameKey defines key of username in operator credentials secret.
OperatorUserName defines username for Jenkins API calls.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RouteKind the kind name for route.
No description provided by the author
Helper scripts related variables.
No description provided by the author
SecurityAPIGroup the openshift api group name for security.
No description provided by the author
ServiceKind the kind name for Service.
Common attributes used for Sidecars.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author