Schema
Packages:
operator-service.com/v1beta1
Package v1beta1 contains API Schema definitions for the operator-service.com v1beta1 API group
Resource Types:AgentAvailability
(string alias)
AgentAvailability defines when the agent is started and stopped
AgentLaunchMethod
(string alias)
(Appears on: AgentProperties)
AgentLaunchMethod indicates how agent is being started
AgentProperties
(Appears on: JenkinsKubernetesAgentSpec)
AgentProperties defines the properties for Jenkins node agent
| Field | Description |
|---|---|
descriptionstring | Description of Jenkins Agent |
executorsint | Executors defines the maximum number of concurrent builds that Jenkins may perform on this node. |
remoteRootDirectorystring | RemoteRootDirectory is directory dedicated to Jenkins for temporary files storage purposes. |
usageAgentUsage | Usage controls how Jenkins schedules builds on this node. Available usage options are defined by AgentUsage enum |
launchMethodAgentLaunchMethod | LaunchMethod controls how Jenkins starts this agent. AgentLaunchMethod is enum that defines the available launch methods |
disableWorkDirbool | DisableWorkDir allows disabling Remoting Work Directory for the agent. |
customWorkDirPathstring | CustomWorkDirPath is a custom Remoting work directory will be used instead of the Agent Root Directory |
internalDataDirectorystring | InternalDataDirectory defines a storage directory for the internal data By default it’s “remoting” |
failIfWorkplaceIsMissingbool | FailIfWorkspaceIsMissing if true, remoting will fail at startup if the target work directory is missing |
useWebSocketbool | UseWebSocket uses websocket to connect to the Jenkins Controller rather than the TCP port |
tunnelConnectionThroughstring | TunnelConnectionThrough allows to route connection to another host Field allowed values: “HOST:PORT”, “:PORT” and “HOST:” |
jvmOptionsstring | JVMOptions are additional startup arguments for Java Virtual Machine which runs agent |
availabilitystring | Availability controls when Jenkins starts and stops this agent. |
toolLocations[]ToolLocation | ToolLocations is list of tools location |
AgentReference
(Appears on: JenkinsSeedJobSpec)
AgentReference represents a Jenkins Kubernetes Agent Reference. It has enough information to retrieve agent in any namespace
| Field | Description |
|---|---|
namestring | Name is unique within a namespace to reference a secret resource. |
namespacestring | Namespace defines the space within which the secret name must be unique. |
AgentUsage
(string alias)
(Appears on: AgentProperties)
AgentUsage indicates how builds are being scheduled on this node
AmazonS3Provider
(Appears on: BackupStorageProviders)
AmazonS3Provider is storage provider for Amazon Web Services cloud
AuthenticationConfigType
(string alias)
(Appears on: JenkinsAuthenticationSpec)
AuthenticationConfigType indicates which authentication provider is set
AuthorizationConfigType
(string alias)
(Appears on: JenkinsAuthorizationSpec)
AuthorizationConfigType indicates which authorization provider is set
AuthorizationStrategy
(string alias)
(Appears on: JenkinsSpec)
AuthorizationStrategy defines authorization strategy of the operator for the Jenkins API
AzureFilesProvider
(Appears on: BackupStorageProviders)
AzureFilesProvider is Microsoft Azure storage provider
| Field | Description |
|---|---|
connectionStringSecretKeySelectorSecretKeySelector | ConnectionStringSecretKeySelector is selector for Azure Storage Account connection string secret |
BackupData
(Appears on: JenkinsBackupConfigSpec)
BackupData configures which data will be included in backup
| Field | Description |
|---|---|
jobsbool | Jobs backup enable/disable toggle |
artifactsbool | Artifacts backup enable/disable toggle |
buildHistorybool | Artifacts backup enable/disable toggle |
BackupStorageProviders
BackupStorageProviders contains the major cloud providers configuration
| Field | Description |
|---|---|
persistentVolumeClaimPersistentVolumeClaimProvider | PersistentVolumeClaim is default vanilla Kubernetes storage provider |
azureFilesAzureFilesProvider | AzureFiles is Microsoft Azure storage provider |
amazonS3AmazonS3Provider | AmazonS3 is storage provider for Amazon Web Services cloud |
gcpStorageGoogleCloudStorageProvider | GoogleCloudStorage is storage provider used in Google Cloud Platform |
BackupTrigger
(Appears on: JenkinsBackupConfigSpec)
BackupTrigger defines the conditions when the backup is being created
| Field | Description |
|---|---|
cronSchedulestring | CronSchedule is cron format schedule |
BuildSettings
(Appears on: JenkinsSeedJobSpec)
BuildSettings configures the job build options
| Field | Description |
|---|---|
ignoreMissingFilesbool | (Optional) IgnoreMissingFiles is setting for Job DSL API plugin to ignore files that are missing |
additionalClasspathstring | (Optional) AdditionalClasspath is setting for Job DSL API plugin to set Additional Classpath |
failOnMissingPluginbool | (Optional) FailOnMissingPlugin is setting for Job DSL API plugin that fails job if required plugin is missing |
unstableOnDeprecationbool | (Optional) UnstableOnDeprecation is setting for Job DSL API plugin that sets build status as unstable if build using deprecated features |
ConditionReason
(string alias)
ConditionReason is the reason for the condition’s last transition
ConditionType
(string alias)
(Appears on: ResourceCondition)
ConditionType is the type of the condition.
CredentialType
(string alias)
(Appears on: Repository)
CredentialType defines type of Jenkins credential used to seed job mechanism.
GitHubOAuthAuthenticationConfig
(Appears on: JenkinsAuthenticationSpec)
| Field | Description |
|---|---|
clientIDstring | ClientID is the client ID you received from GitHub for your OAuth App. |
clientSecretRefKubernetes core/v1.SecretReference | ClientSecretRef is a secret reference which lets you safely pass the client secret to Authentication Spec. It has to contain the “clientSecret” key with value of the client secret from GitHub for your OAuth App. |
webUristring | (Optional) WebURI used if you are using GitHub Enterprise. The URL to the web UI root of your GitHub installation. The ‘https://’ or ‘http://’ part needs to be specified. There should not be any trailing slash (/). By default set to ‘https://github.com’. |
apiUristring | (Optional) APIURI used if you are using GitHub Enterprise. The URI to the API root of your GitHub installation. The ‘https://’ or ‘http://’ part needs to be specified. There should not be any trailing slash (/). By default set to ‘https://api.github.com’. |
scopes[]string | (Optional) Scopes let you specify exactly what your app is requesting access to. Scopes limit access for OAuth tokens. They do not grant any additional permission beyond that which the user already has. By default these are set to “read:org,user:email” |
GoogleCloudStorageProvider
(Appears on: BackupStorageProviders)
GoogleCloudStorageProvider is storage provider for Amazon Web Services cloud
GoogleOAuthAuthenticationConfig
(Appears on: JenkinsAuthenticationSpec)
| Field | Description |
|---|---|
clientIDstring | ClientID is the client ID you from Google OAuth credentials. |
clientSecretRefKubernetes core/v1.SecretReference | ClientSecretRef is a secret reference which lets you safely pass the client secret to Authentication Spec. It has to contain the “clientSecret” key with value of the client secret from Google OAuth credentials. |
domainstring | (Optional) Domain is the public domain of your Jenkins instance. Leave empty for localhost. |
Jenkins
Jenkins is the Schema for the jenkins API
| Field | Description | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||||||||||||||||||
specJenkinsSpec |
| ||||||||||||||||||||||
statusJenkinsStatus |
JenkinsAuthentication
JenkinsAuthentication is the Schema for the JenkinsAuthentications API
| Field | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||||
specJenkinsAuthenticationSpec |
| ||||||||
statusJenkinsAuthenticationStatus |
JenkinsAuthenticationSpec
(Appears on: JenkinsAuthentication)
JenkinsAuthenticationSpec defines the desired state of JenkinsAuthentication. It’s used only for authentication purposes, to check if user with provided credentials exists. For granular access properties, look at JenkinsAuthorization CRD.
| Field | Description |
|---|---|
typeAuthenticationConfigType | Type indicates which authentication provider is set |
githubOAuthGitHubOAuthAuthenticationConfig | (Optional) GithubOAuth is configuration for GitHub OAuth provider |
googleOAuthGoogleOAuthAuthenticationConfig | (Optional) GoogleOAuth is configuration for Google OAuth provider |
openIDConnectAuthOpenIDConnectAuthenticationConfig | (Optional) OpenIDConnectAuth is configuration for OpenIDConnect protocol |
JenkinsAuthenticationStatus
(Appears on: JenkinsAuthentication)
JenkinsAuthenticationStatus defines the observed state of JenkinsAuthentication
| Field | Description |
|---|---|
operatorVersionstring | (Optional) OperatorVersion is the operator version which manages this CR |
conditions[]ResourceCondition | Conditions contains JenkinsAuthentication statuses |
hashstring | Hash contains hash computed when running this script |
JenkinsAuthorization
JenkinsAuthorization is the Schema for the JenkinsAuthorization API
| Field | Description | ||||||
|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||
specJenkinsAuthorizationSpec |
| ||||||
statusJenkinsAuthorizationStatus |
JenkinsAuthorizationSpec
(Appears on: JenkinsAuthorization)
JenkinsAuthorizationSpec defines the desired state of JenkinsAuthorization. It configures the granular access for users.
| Field | Description |
|---|---|
typeAuthorizationConfigType | Type indicates which authorization provider is set |
matrixMatrixConfig | Matrix is matrix-based authorization configuration NOTE: It requires additional plugin |
roleBasedRoleBasedConfig | RoleBased is role-based authorization configuration NOTE: It requires additional plugin |
JenkinsAuthorizationStatus
(Appears on: JenkinsAuthorization)
JenkinsAuthorizationStatus defines the observed state of JenkinsAuthorization
| Field | Description |
|---|---|
conditions[]ResourceCondition | Conditions contains JenkinsAuthorization statuses |
hashstring | Hash contains hash computed when running this script |
JenkinsBackupConfig
JenkinsBackupConfig is the Schema for the jenkinsbackupconfigs API
| Field | Description | ||||||
|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||
specJenkinsBackupConfigSpec |
| ||||||
statusJenkinsBackupConfigStatus |
JenkinsBackupConfigSpec
(Appears on: JenkinsBackupConfig)
JenkinsBackupConfigSpec defines the desired state of JenkinsBackupConfig. Using this CRD, the backup retention, data, trigger and providers can be set.
| Field | Description |
|---|---|
retentionint | Retention defines how much backups are being stored at the same time |
dataBackupData | Data configures which data will be included in backup |
triggerBackupTrigger | Trigger defines the conditions when the backup is being created |
JenkinsBackupConfigStatus
(Appears on: JenkinsBackupConfig)
JenkinsBackupConfigStatus defines the observed state of JenkinsBackupConfig
| Field | Description |
|---|---|
operatorVersionstring | (Optional) OperatorVersion is the operator version which manages this CR |
conditions[]ResourceCondition | Conditions contains JenkinsBackupConfig statuses |
JenkinsConfigurationAsCode
JenkinsConfigurationAsCode is the Schema for the jenkinsconfigurationascodes API
| Field | Description | ||||
|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||
specJenkinsConfigurationAsCodeSpec |
| ||||
statusJenkinsConfigurationAsCodeStatus |
JenkinsConfigurationAsCodeSpec
(Appears on: JenkinsConfigurationAsCode)
JenkinsConfigurationAsCodeSpec defines the desired state of JenkinsConfigurationAsCode. It allows to write CASC to modify the Jenkins.
| Field | Description |
|---|---|
datastring | Data is inline configuration as code script |
secretRefKubernetes core/v1.SecretReference | SecretRef is secret reference which allows to inject the secrets into CASC code |
JenkinsConfigurationAsCodeStatus
(Appears on: JenkinsConfigurationAsCode)
JenkinsConfigurationAsCodeStatus defines the observed state of JenkinsConfigurationAsCode
| Field | Description |
|---|---|
conditions[]ResourceCondition | Conditions contains JenkinsConfigurationAsCode statuses |
hashstring | Hash contains hash computed when running this CASC code |
JenkinsGroovyScript
JenkinsGroovyScript is the Schema for the jenkinsgroovyscripts API
| Field | Description | ||||||
|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||
specJenkinsGroovyScriptSpec |
| ||||||
statusJenkinsGroovyScriptStatus |
JenkinsGroovyScriptRef
(Appears on: JenkinsGroovyScriptSpec)
JenkinsGroovyScriptRef defines dependency with another JenkinsGroovyScript
| Field | Description |
|---|---|
namestring | Name of the script being referenced |
namespacestring | Namespace of referenced JenkinsGroovyScript |
JenkinsGroovyScriptSpec
(Appears on: JenkinsGroovyScript)
JenkinsGroovyScriptSpec defines the desired state of JenkinsGroovyScript. It allows to write Groovy Scripts to modify the Jenkins.
| Field | Description |
|---|---|
datastring | Data is inline Groovy script |
secretRefKubernetes core/v1.SecretReference | SecretRef is secret reference which allows to inject the secrets into Groovy script code |
dependsOnJenkinsGroovyScriptRef | DependsOn is JenkinsGroovyScript reference which determines the order of the Groovy scripts |
JenkinsGroovyScriptStatus
(Appears on: JenkinsGroovyScript)
JenkinsGroovyScriptStatus defines the observed state of JenkinsGroovyScript
| Field | Description |
|---|---|
operatorVersionstring | (Optional) OperatorVersion is the operator version which manages this CR |
conditions[]ResourceCondition | Conditions contains JenkinsAuthentication statuses |
hashstring | Hash contains hash computed when running this script |
JenkinsKubernetesAgent
JenkinsKubernetesAgent is the Schema for the JenkinsKubernetesAgents API
| Field | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||||||
specJenkinsKubernetesAgentSpec |
| ||||||||||
statusJenkinsKubernetesAgentStatus |
JenkinsKubernetesAgentSpec
(Appears on: JenkinsKubernetesAgent)
JenkinsKubernetesAgentSpec defines the desired state of Jenkins Agent. It’s used as remote agent, running in separate pod, which connects to Jenkins Controller.
| Field | Description |
|---|---|
annotationsmap[string]string | (Optional) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations |
labelsmap[string]string | (Optional) Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels |
propertiesAgentProperties | Properties configures the Jenkins agent |
podSpecKubernetes core/v1.PodSpec | (Optional) PodSpec allows to set Jenkins Kubernetes Agent specific pod properties |
roles[]Kubernetes rbac/v1.RoleRef | (Optional) Roles defines list of extra RBAC roles for the Jenkins Kubernetes Agent pod service account |
JenkinsKubernetesAgentStatus
(Appears on: JenkinsKubernetesAgent)
JenkinsKubernetesAgentStatus defines the observed state of JenkinsKubernetesAgent
| Field | Description |
|---|---|
provisionStartTimeKubernetes meta/v1.Time | (Optional) ProvisionStartTime is a time when Jenkins agent pod has been created |
conditions[]ResourceCondition | Conditions contains JenkinsKubernetesAgent statuses |
JenkinsNotification
JenkinsNotification is a service configuration used to send notifications about Jenkins configuration status. Docs: https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/latest/notifications/
| Field | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||||||||||
specJenkinsNotificationSpec |
| ||||||||||||||
statusJenkinsNotificationStatus |
JenkinsNotificationSpec
(Appears on: JenkinsNotification)
JenkinsNotificationSpec is a service configuration used to send notifications about Jenkins configuration status. Docs: https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/latest/notifications/
| Field | Description |
|---|---|
levelNotificationLevel | |
verbosebool | |
namestring | |
slackSlack | |
teamsMicrosoftTeams | |
mailgunMailgun | |
smtpSMTP |
JenkinsNotificationStatus
(Appears on: JenkinsNotification)
JenkinsNotificationStatus defines the observed state of JenkinsNotification
| Field | Description |
|---|---|
operatorVersionstring | (Optional) OperatorVersion is the operator version which manages this CR |
conditions[]ResourceCondition | Conditions contains JenkinsNotification statuses |
JenkinsSeedJob
JenkinsSeedJob is the Schema for the jenkinsseedjobs API
| Field | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||||||
specJenkinsSeedJobSpec |
| ||||||||||
statusJenkinsSeedJobStatus |
JenkinsSeedJobSpec
(Appears on: JenkinsSeedJob)
JenkinsSeedJobSpec defines the desired state of JenkinsSeedJob. It allows to create Seed Jobs which are executed on Jenkins startup.
| Field | Description |
|---|---|
descriptionstring | (Optional) Description is the description of the seed job |
repositoryRepository | Repository is the place where seed job definitions are defined |
triggersTriggers | (Optional) Triggers are used for Git servers web hooks |
agentRefAgentReference | (Optional) AgentRef is reference to agent |
settingsBuildSettings | (Optional) Settings configures the Git specific properties |
JenkinsSeedJobStatus
(Appears on: JenkinsSeedJob)
JenkinsSeedJobStatus defines the observed state of JenkinsSeedJob
| Field | Description |
|---|---|
operatorVersionstring | (Optional) OperatorVersion is the operator version which manages this CR |
conditions[]ResourceCondition | Conditions contains JenkinsSeedJob statuses |
hashstring | Hash contains hash computed when running this script |
JenkinsSpec
(Appears on: Jenkins)
JenkinsSpec defines the desired state of Jenkins. It’s used for Jenkins Controller and Kubernetes pod configuration
| Field | Description |
|---|---|
annotationsmap[string]string | (Optional) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations |
labelsmap[string]string | (Optional) Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels |
podLabelsmap[string]string | (Optional) Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. Allows to add custom labels to Jenkins Controller Pod More info: http://kubernetes.io/docs/user-guide/labels |
podSpecKubernetes core/v1.PodSpec | (Optional) PodSpec allows to set Jenkins Kubernetes specific pod properties |
pvcSettingsPVCOptions | (Optional) HomePVC allows to set PersistentVolumeClaim properties for Jenkins home |
roles[]Kubernetes rbac/v1.RoleRef | (Optional) Roles defines list of extra RBAC roles for the Jenkins Controller pod service account |
plugins[]Plugin | (Optional) Plugins contains plugins required by user Can be overridden Defaults plugins: - name: kubernetes version: 1.25.2 - name: workflow-job version: “2.39” - name: workflow-aggregator version: “2.6” - name: git version: 4.2.2 - name: job-dsl version: “1.77” - name: configuration-as-code version: “1.38” - name: kubernetes-credentials-provider version: 0.13 |
pluginsCachePVCOptions | (Optional) PluginsCache allows to set plugins cache specific pvc properties |
servicesServices | (Optional) Services allows to configure Jenkins services |
disableCSRFProtectionbool | DisableCSRFProtection allows you to toggle CSRF Protection on Jenkins |
authorizationStrategyAuthorizationStrategy |
JenkinsStatus
(Appears on: Jenkins)
JenkinsStatus defines the observed state of Jenkins
| Field | Description |
|---|---|
operatorVersionstring | (Optional) OperatorVersion is the operator version which manages this CR |
provisionStartTimeKubernetes meta/v1.Time | (Optional) ProvisionStartTime is a time when Jenkins Controller pod has been created |
baseGroovyScriptsAppliedTimeKubernetes meta/v1.Time | (Optional) BaseGroovyScriptsAppliedTime is a time when base groovy scripts were applied |
userAndPasswordHashstring | (Optional) UserAndPasswordHash is a SHA256 hash made from user and password |
conditions[]ResourceCondition | Conditions contains Jenkins statuses |
Mailgun
(Appears on: JenkinsNotificationSpec)
Mailgun is handler for Mailgun email service notification channel.
| Field | Description |
|---|---|
domainstring | |
apiKeySecretKeySelectorSecretKeySelector | |
recipientstring | |
fromstring |
MatrixConfig
(Appears on: JenkinsAuthorizationSpec)
MatrixConfig contains users with permissions
| Field | Description |
|---|---|
users[]User | Users is list of the users with permissions |
MicrosoftTeams
(Appears on: JenkinsNotificationSpec)
MicrosoftTeams is handler for Microsoft MicrosoftTeams notification channel.
| Field | Description |
|---|---|
webHookURLSecretKeySelectorSecretKeySelector | The web hook URL to MicrosoftTeams App |
NotificationLevel
(string alias)
(Appears on: JenkinsNotificationSpec)
NotificationLevel defines the level of a Notification.
OpenIDConnectAuthenticationConfig
(Appears on: JenkinsAuthenticationSpec)
| Field | Description |
|---|---|
clientIDstring | ClientID is the client ID you received from your identity provider. |
clientSecretRefKubernetes core/v1.SecretReference | ClientSecretRef is a secret reference which lets you safely pass the client secret to Authentication Spec. It has to contain the “clientSecret” key with value of the client secret from OpenID Connect credentials. |
autoManualConfigurestring | AutoManualConfigure specifies configuration mode. This can be either auto or manual. If set to auto, WellKnownOpenIDConfigurationURL will be required and configuration will be fetched from the well-known configuration endpoint. If set to false, TokenServerURL, AuthorizationServerURL will be required. |
wellKnownOpenIDConfigurationURLstring | (Optional) WellKnownOpenIDConfigurationURL is an endpoint with well-known configuration endpoint, where your OpenID server publishes its metadata. Required when AutoManualConfigure is set to auto. |
tokenServerURLstring | (Optional) Required when AutoManualConfigure is set to “manual”. |
authorizationServerURLstring | (Optional) Required when AutoManualConfigure is set to “manual”. |
userInfoServerURLstring | (Optional) |
userNameFieldstring | (Optional) |
tokenFieldToCheckKeystring | (Optional) |
tokenFieldToCheckValuestring | (Optional) |
fullNameFieldNamestring | (Optional) |
emailFieldNamestring | (Optional) |
scopesstring | (Optional) |
groupsFieldNamestring | (Optional) |
disableSSLVerificationbool | (Optional) |
logoutFromOpenIDProviderbool | (Optional) |
endSessionEndpointstring | (Optional) Required when LogoutFromOpenIDProvider is set to true. |
postLogoutRedirectURLstring | (Optional) |
escapeHatchEnabledbool | (Optional) |
escapeHatchUsernamestring | (Optional) Required when EscapeHatchEnabled is set to true. |
escapeHatchSecretRefKubernetes core/v1.SecretReference | (Optional) EscapeHatchSecretRef is a secret reference which lets you safely pass the escape hatch secret to Authentication Spec. It is required when EscapeHatchEnabled is set to true. It has to contain the “escapeHatchSecret” key with value of the escape hatch secret from OpenID Connect credentials. |
escapeHatchGroupstring | (Optional) |
PVCOptions
(Appears on: JenkinsSpec)
| Field | Description |
|---|---|
accessModeKubernetes core/v1.PersistentVolumeAccessMode | AccessMode specifies the way the plugins cache can be mounted |
resourceStoragestring | ResourceStorage is the plugins cache volume size |
storageClassNamestring | StorageClassName is the name of the StorageClass required by the claim |
PersistentVolumeClaimProvider
(Appears on: BackupStorageProviders)
PersistentVolumeClaimProvider is default vanilla Kubernetes storage provider
| Field | Description |
|---|---|
claimNamestring | ClaimName is name of PVC which will be used as backup storage |
Plugin
(Appears on: JenkinsSpec)
| Field | Description |
|---|---|
namestring | Name is the name of Jenkins plugin |
versionstring | Version is the version of Jenkins plugin |
downloadURLstring | DownloadURL is the custom url from where plugin has to be downloaded |
Repository
(Appears on: JenkinsSeedJobSpec)
Repository is VCS repository settings
| Field | Description |
|---|---|
branchstring | Branch is the repository branch where seed job definitions are stored |
urlstring | URL is the repository access URL. Can be SSH or HTTPS. |
targetsstring | Targets is the path from repository root where seed job definitions are stored |
credentialIDstring | CredentialID is the Kubernetes secret name which stores repository access credentials |
credentialTypeCredentialType | (Optional) CredentialType is the https://jenkinsci.github.io/kubernetes-credentials-provider-plugin/ credential type |
ResourceCondition
(Appears on: JenkinsAuthenticationStatus, JenkinsAuthorizationStatus, JenkinsBackupConfigStatus, JenkinsConfigurationAsCodeStatus, JenkinsGroovyScriptStatus, JenkinsKubernetesAgentStatus, JenkinsNotificationStatus, JenkinsSeedJobStatus, JenkinsStatus)
| Field | Description |
|---|---|
typeConditionType | Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions |
statusKubernetes core/v1.ConditionStatus | Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions |
lastProbeTimeKubernetes meta/v1.Time | (Optional) Last time we probed the condition. |
lastTransitionTimeKubernetes meta/v1.Time | (Optional) Last time the condition transitioned from one status to another. |
reasonstring | (Optional) Unique, one-word, CamelCase reason for the condition’s last transition. |
messagestring | (Optional) Human-readable message indicating details about last transition. |
Role
(Appears on: RoleBasedConfig)
| Field | Description |
|---|---|
namestring | Name of the role |
permissions[]string | Permissions assigned to the role |
usersOrGroups[]string | UsersOrGroups to which this role is assigned |
RoleBasedConfig
(Appears on: JenkinsAuthorizationSpec)
RoleBasedConfig contains roles with permissions
| Field | Description |
|---|---|
roles[]Role | Roles is list of the users with permissions |
SMTP
(Appears on: JenkinsNotificationSpec)
SMTP is handler for sending emails via this protocol.
| Field | Description |
|---|---|
usernameSecretKeySelectorSecretKeySelector | |
passwordSecretKeySelectorSecretKeySelector | |
portint | |
serverstring | |
tlsInsecureSkipVerifybool | |
fromstring | |
tostring |
SecretKeySelector
(Appears on: AzureFilesProvider, Mailgun, MicrosoftTeams, SMTP, Slack)
SecretKeySelector selects a key of a Secret.
| Field | Description |
|---|---|
secretKubernetes core/v1.LocalObjectReference | The name of the secret in the pod’s namespace to select from. |
keystring | The key of the secret to select from. Must be a valid secret key. |
Service
(Appears on: Services)
| Field | Description | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
labelsmap[string]string | (Optional) Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels | ||||||||||||||||||||||||||||||||||||
annotationsmap[string]string | (Optional) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations | ||||||||||||||||||||||||||||||||||||
specKubernetes core/v1.ServiceSpec | Spec describes the attributes that a user creates on a service.
|
Services
(Appears on: JenkinsSpec)
| Field | Description |
|---|---|
httpService | Http is Jenkins web UI service |
agentService | Agent is Jenkins agent service |
Slack
(Appears on: JenkinsNotificationSpec)
Slack is handler for Slack notification channel.
| Field | Description |
|---|---|
webHookURLSecretKeySelectorSecretKeySelector | The web hook URL to Slack App |
ToolLocation
(Appears on: AgentProperties)
ToolLocation defines the location of development tools
| Field | Description |
|---|---|
homestring | Name of tool |
namestring | Home defines where the tool is located |
Trigger
(Appears on: Triggers)
Trigger defines in which conditions the Jenkins seed job will be executed
| Field | Description |
|---|---|
pushbool | Push indicates that Jenkins seed job is executed on every detected push to corresponding Git repository |
Triggers
(Appears on: JenkinsSeedJobSpec)
Triggers define circumstances that execute jobs
| Field | Description |
|---|---|
bitbucketTrigger | (Optional) BitbucketTrigger is used for Bitbucket web hooks |
githubTrigger | (Optional) GitHubTrigger is used for GitHub web hooks |
buildPeriodicallystring | (Optional) BuildPeriodically is used for scheduled timer trigger |
pollSCMstring | (Optional) PollSCM is setting for polling changes in SCM |
User
(Appears on: MatrixConfig)
User contains name and permissions
| Field | Description |
|---|---|
namestring | Name is a name of a user |
permissions[]string | Permissions is list of permissions |
Generated with gen-crd-api-reference-docs
on git commit ae96998.