diff --git a/README.md b/README.md index 2ebd2ef3..141fb51b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Jenkins Operator -[](https://github.com/jenkinsci/kubernetes-operator/releases/tag/v0.1.1) +[](https://github.com/jenkinsci/kubernetes-operator/releases/tag/v0.2.0) [](https://travis-ci.org/jenkinsci/kubernetes-operator) [](https://goreportcard.com/report/github.com/jenkinsci/kubernetes-operator) [](https://hub.docker.com/r/virtuslab/jenkins-operator/tags) @@ -52,8 +52,8 @@ Feel free to file [issues](https://github.com/jenkinsci/kubernetes-operator/issu This project was originally developed by [VirtusLab](https://virtuslab.com/) and the following [CONTRIBUTORS](https://github.com/jenkinsci/kubernetes-operator/graphs/contributors). [installation]:documentation/installation.md -[getting_started]:documentation/v0.1.1/getting-started.md +[getting_started]:documentation/v0.2.0/getting-started.md [how_it_works]:documentation/how-it-works.md [security]:documentation/security.md [developer_guide]:documentation/developer-guide.md -[jenkins_scheme]:documentation/v0.1.1/jenkins-v1alpha2-scheme.md \ No newline at end of file +[jenkins_scheme]:documentation/v0.2.0/jenkins-v1alpha2-scheme.md \ No newline at end of file diff --git a/VERSION.txt b/VERSION.txt index 8308b63a..1474d00f 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -v0.1.1 +v0.2.0 diff --git a/deploy/all-in-one-v1alpha2.yaml b/deploy/all-in-one-v1alpha2.yaml index 9fda8470..92e236ec 100644 --- a/deploy/all-in-one-v1alpha2.yaml +++ b/deploy/all-in-one-v1alpha2.yaml @@ -126,7 +126,7 @@ spec: serviceAccountName: jenkins-operator containers: - name: jenkins-operator - image: virtuslab/jenkins-operator:v0.1.1 + image: virtuslab/jenkins-operator:v0.2.0 command: - jenkins-operator args: [] diff --git a/deploy/operator.yaml b/deploy/operator.yaml index 64890cee..16c7ff45 100644 --- a/deploy/operator.yaml +++ b/deploy/operator.yaml @@ -16,7 +16,7 @@ spec: serviceAccountName: jenkins-operator containers: - name: jenkins-operator - image: virtuslab/jenkins-operator:v0.1.1 + image: virtuslab/jenkins-operator:v0.2.0 command: - jenkins-operator args: [] diff --git a/documentation/v0.2.0/jenkins-v1alpha2-scheme.md b/documentation/v0.2.0/jenkins-v1alpha2-scheme.md index de25e2ae..0707132f 100644 --- a/documentation/v0.2.0/jenkins-v1alpha2-scheme.md +++ b/documentation/v0.2.0/jenkins-v1alpha2-scheme.md @@ -163,6 +163,34 @@ Restore More info: https://github.com/jenkinsci/kubernetes-operator/blob/master/docs/getting-started.md#configure-backup-and-restore
+groovyScripts
+
+
+GroovyScripts
+
+
+GroovyScripts defines configuration of Jenkins customization via groovy scripts
+configurationAsCode
+
+
+ConfigurationAsCode
+
+
+ConfigurationAsCode defines configuration of Jenkins customization via Configuration as Code Jenkins plugin
++(Appears on: +JenkinsStatus) +
++
AppliedGroovyScript is the applied groovy script in Jenkins by the operator
+ +| Field | +Description | +
|---|---|
+configurationType
+
+string
+
+ |
+
+ ConfigurationType is the name of the configuration type(base-groovy, user-groovy, user-casc) + |
+
+source
+
+string
+
+ |
+
+ Source is the name of source where is located groovy script + |
+
+name
+
+string
+
+ |
+
+ Name is the name of the groovy script + |
+
+Hash
+
+string
+
+ |
+
+ Hash is the hash of the groovy script and secrets which it uses + |
+
@@ -247,14 +338,14 @@ bool -
(Appears on: -JenkinsStatus) +Customization)
-
Build defines Jenkins Build status with corresponding metadata
+ConfigMapRef is reference to Kubernetes ConfigMap
-jobName
+name
string
|
- JobName is the Jenkins job name - |
-
-hash
-
-string
-
- |
-
- Hash is the unique data identifier used in build - |
-
-number
-
-int64
-
- |
-
- Number is the Jenkins build number - |
-
-status
-
-
-BuildStatus
-
-
- |
-
- Status is the status of Jenkins build - |
-
-retries
-
-int
-
- |
-
- Retires is the amount of Jenkins job build retries - |
-
-createTime
-
-
-Kubernetes meta/v1.Time
-
-
- |
-
- CreateTime is the time when the first build has been created - |
-
-lastUpdateTime
-
-
-Kubernetes meta/v1.Time
-
-
- |
-
- LastUpdateTime is the last update status time |
string alias)(Appears on: -Build) +JenkinsSpec)
-
BuildStatus defines type of Jenkins build job status
+ConfigurationAsCode defines configuration of Jenkins customization via Configuration as Code Jenkins plugin
+| Field | +Description | +
|---|---|
+Customization
+
+
+Customization
+
+
+ |
++ | +
@@ -605,6 +645,81 @@ More info: Customization
+
+
+(Appears on:
+ConfigurationAsCode,
+GroovyScripts)
+
+ Customization defines configuration of Jenkins customization
| Field | +Description | +
|---|---|
+secret
+
+
+SecretRef
+
+
+ |
++ | +
+configurations
+
+
+[][]github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha2.ConfigMapRef
+
+
+ |
++ | +
+(Appears on: +JenkinsSpec) +
++
GroovyScripts defines configuration of Jenkins customization via groovy scripts
+ +| Field | +Description | +
|---|---|
+Customization
+
+
+Customization
+
+
+ |
++ | +
@@ -761,6 +876,23 @@ memory: 600Mi
imagePullSecrets
+
+
+[]Kubernetes core/v1.LocalObjectReference
+
+
+ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. +If specified, these secrets will be passed to individual puller implementations for them to use. For example, +in the case of docker, only DockerConfig type secrets are honored. +More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
+volumes
@@ -930,6 +1062,34 @@ Restore
More info: https://github.com/jenkinsci/kubernetes-operator/blob/master/docs/getting-started.md#configure-backup-and-restore
groovyScripts
+
+
+GroovyScripts
+
+
+GroovyScripts defines configuration of Jenkins customization via groovy scripts
+configurationAsCode
+
+
+ConfigurationAsCode
+
+
+ConfigurationAsCode defines configuration of Jenkins customization via Configuration as Code Jenkins plugin
+builds
-
-
-[][]github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha2.Build
-
-
-Builds contains Jenkins builds statues
-restoredBackup
uint64
@@ -1089,8 +1235,207 @@ string
CreatedSeedJobs contains list of seed job id already created in Jenkins
appliedGroovyScripts
+
+
+[][]github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha2.AppliedGroovyScript
+
+
+AppliedGroovyScripts is a list with all applied groovy scripts in Jenkins by the operator
++(Appears on: +Notification) +
++
Mailgun is handler for Mailgun email service notification channel
+ +| Field | +Description | +
|---|---|
+domain
+
+string
+
+ |
++ | +
+apiKeySecretKeySelector
+
+
+SecretKeySelector
+
+
+ |
++ | +
+recipient
+
+string
+
+ |
++ | +
+from
+
+string
+
+ |
++ | +
+(Appears on: +Notification) +
++
MicrosoftTeams is handler for Microsoft MicrosoftTeams notification channel
+ +| Field | +Description | +
|---|---|
+webHookURLSecretKeySelector
+
+
+SecretKeySelector
+
+
+ |
+
+ The web hook URL to MicrosoftTeams App + |
+
+
Notification is a service configuration used to send notifications about Jenkins status
+ +| Field | +Description | +
|---|---|
+loggingLevel
+
+
+NotificationLogLevel
+
+
+ |
++ | +
+verbose
+
+bool
+
+ |
++ | +
+name
+
+string
+
+ |
++ | +
+slack
+
+
+github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha2.Slack
+
+
+ |
++ | +
+teams
+
+
+github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha2.MicrosoftTeams
+
+
+ |
++ | +
+mailgun
+
+
+github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha2.Mailgun
+
+
+ |
++ | +
string alias)+(Appears on: +Notification) +
++
NotificationLogLevel defines logging level of Notification
+@@ -1187,6 +1532,80 @@ uint64 +
+(Appears on: +Mailgun, +MicrosoftTeams, +Slack) +
++
SecretKeySelector selects a key of a Secret.
+ +| Field | +Description | +
|---|---|
+secret
+
+
+Kubernetes core/v1.LocalObjectReference
+
+
+ |
+
+ The name of the secret in the pod’s namespace to select from. + |
+
+key
+
+string
+
+ |
+
+ The key of the secret to select from. Must be a valid secret key. + |
+
+(Appears on: +Customization) +
++
SecretRef is reference to Kubernetes secret
+ +| Field | +Description | +
|---|---|
+name
+
+string
+
+ |
++ | +
@@ -1286,6 +1705,90 @@ JenkinsCredentialType
JenkinsCredentialType is the https://jenkinsci.github.io/kubernetes-credentials-provider-plugin/ credential type
+githubPushTrigger
+
+bool
+
+GitHubPushTrigger is used for GitHub web hooks
+buildPeriodically
+
+string
+
+BuildPeriodically is setting for scheduled trigger
+pollSCM
+
+string
+
+PollSCM is setting for polling changes in SCM
+ignoreMissingFiles
+
+bool
+
+IgnoreMissingFiles is setting for Job DSL API plugin to ignore files that miss
+additionalClasspath
+
+string
+
+AdditionalClasspath is setting for Job DSL API plugin to set Additional Classpath
+failOnMissingPlugin
+
+bool
+
+FailOnMissingPlugin is setting for Job DSL API plugin that fails job if required plugin is missing
+unstableOnDeprecation
+
+bool
+
+UnstableOnDeprecation is setting for Job DSL API plugin that sets build status as unstable if build using deprecated features
++(Appears on: +Notification) +
++
Slack is handler for Slack notification channel
+ +| Field | +Description | +
|---|---|
+webHookURLSecretKeySelector
+
+
+SecretKeySelector
+
+
+ |
+
+ The web hook URL to Slack App + |
+
Generated with gen-crd-api-reference-docs
-on git commit 37e531a.
+on git commit f4c4235.