Skip to content

Commit

Permalink
Jenkins 3.0.0 (#153)
Browse files Browse the repository at this point in the history
* Chart uses StatefulSet instead of Deployment
* XML configuration was dropped
* offending terms have been removed
* values have been renamed and re-ordered to make it easier to use
* already deprecated items got removed
* chart migrated to helm 3.0.0
* rename containers (#155)
* Configure admin user via configuration as code (#158)
  * admin username and password are no longer exposed as environment
    variables
  * admin password is not modified on helm updates instead the values from
    the existing secret is re-used
  * default length of admin password was increased
  * renamed useSecurity to adminSecret as disabling
    security feels odd and it's not what this flag does.
  * Check usage of deprecated imageTag (#161)
  * Remove whitespace when not rendering helm.sh/chart label (#160)
    Before:

    ```
    kind: PersistentVolumeClaim
    apiVersion: v1
    metadata:
      name: RELEASE-NAME-jenkins
      namespace: cockpit
      labels:
        "app.kubernetes.io/name": 'jenkins'

        "app.kubernetes.io/managed-by": "Helm"
        "app.kubernetes.io/instance": "RELEASE-NAME"
        "app.kubernetes.io/component": "jenkins-controller"
    ```

    After:

    ```
    kind: PersistentVolumeClaim
    apiVersion: v1
    metadata:
      name: RELEASE-NAME-jenkins
      namespace: cockpit
      labels:
        "app.kubernetes.io/name": 'jenkins'
        "app.kubernetes.io/managed-by": "Helm"
        "app.kubernetes.io/instance": "RELEASE-NAME"
        "app.kubernetes.io/component": "jenkins-controller"
    ```

List of contributions:

- Dylan Piergies: Replace Deployment with StatefulSet #33
- Aaron McDonald: move kubernetes plugin configuration under agent #106
- holmesb: Adding prometheus \ metrics guidance #78
- Florian Buchmeier: Updated UI tests to use official BATS image since
  dduportal/bats:0.4.0 is still using docker manifest v1 and thus is deprecated. (#157)

Closes #78

Co-authored-by: Aaron McDonald <[email protected]>
Co-authored-by: Dylan Piergies [email protected]
Co-authored-by: holmesb <[email protected]>
Signed-off-by: Torsten Walter <[email protected]>

Co-authored-by: Aaron McDonald <[email protected]>
Co-authored-by: holmesb <[email protected]>
  • Loading branch information
3 people authored Nov 26, 2020
1 parent 1962b66 commit c00b41a
Show file tree
Hide file tree
Showing 59 changed files with 1,487 additions and 2,253 deletions.
21 changes: 20 additions & 1 deletion charts/jenkins/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,24 @@ Use the following links to reference issues, PRs, and commits prior to v2.6.0.
The change log until v1.5.7 was auto-generated based on git commits.
Those entries include a reference to the git commit to be able to get more details.

## 3.0.0

* Chart uses StatefulSet instead of Deployment
* XML configuration was removed in favor of JCasC
* chart migrated to helm 3.0.0 (apiVersion v2)
* offending terms have been removed
* values have been renamed and re-ordered to make it easier to use
* already deprecated items have been removed
* componentName for the controller is now `jenkins-controller`
* componentName for the agent is now `jenkins-agent`
* container names are now
* `init` for the init container which downloads Jenkins plugins
* `jenkins` for the Jenkins controller
* `config-reload` for the sidecar container which automatically reloads JCasC
* Updated UI tests to use official `bats/bats` image instead of `dduportal/bats`

For migration instructions from previous versions and additional information check README.md.

## 2.19.0

* Use lts version 2.249.3
Expand Down Expand Up @@ -81,6 +99,7 @@ Fix tolerations in the backup pod
Update list of maintainers

## 2.13.0

Added Support for websockets in the default Jcasc config
Added trailing slash to JENKINS_URL env var

Expand Down Expand Up @@ -562,7 +581,7 @@ Update kubernetes-plugin to version 1.18.2 which fixes frequently encountered [J

## 1.7.1

Update the default requirements for jenkins-slave to 512Mi which fixes frequently encountered [issue #3723](https://github.com/helm/charts/issues/3723)
Update the default requirements for jenkins-agent to 512Mi which fixes frequently encountered [issue #3723](https://github.com/helm/charts/issues/3723)

## 1.7.0

Expand Down
4 changes: 2 additions & 2 deletions charts/jenkins/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
apiVersion: v2
name: jenkins
home: https://jenkins.io/
version: 2.19.0
version: 3.0.0
appVersion: 2.249.3
description: Jenkins - Build great things at any scale! The leading open source automation server, Jenkins provides hundreds of plugins to support building, deploying and automating any project.
sources:
Expand Down
Loading

0 comments on commit c00b41a

Please sign in to comment.