diff --git a/stable/jenkins/Chart.yaml b/stable/jenkins/Chart.yaml index 290b3130a3..5606e5813f 100755 --- a/stable/jenkins/Chart.yaml +++ b/stable/jenkins/Chart.yaml @@ -1,6 +1,6 @@ name: jenkins home: https://jenkins.io/ -version: 1.1.7 +version: 1.1.8 appVersion: lts description: Open source continuous integration server. It supports multiple SCM tools including CVS, Subversion and Git. It can execute Apache Ant and Apache Maven-based diff --git a/stable/jenkins/README.md b/stable/jenkins/README.md index e5740ade67..6e4eff3867 100644 --- a/stable/jenkins/README.md +++ b/stable/jenkins/README.md @@ -21,6 +21,35 @@ To install the chart with the release name `my-release`: $ helm install --name my-release stable/jenkins ``` +## Upgrading an existing Release to a new major version + +A major chart version change (like v0.40.0 -> v1.0.0) indicates that there is an incompatible breaking change needing manual actions. + + +### 1.0.0 + +Breaking changes: + +- values have been renamed to follow helm chart best practices for naming conventions so + that all variables start with a lowercase letter and words are separated with camelcase + https://helm.sh/docs/chart_best_practices/#naming-conventions +- all resources are now using recommended standard labels + https://helm.sh/docs/chart_best_practices/#standard-labels + +As a result of the label changes also the selectors of the deployment have been updated. +Those are immutable so trying an updated will cause an error like: + +``` +Error: Deployment.apps "jenkins" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/component":"jenkins-master", "app.kubernetes.io/instance":"jenkins"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable +``` + +In order to upgrade, delete the Jenkins Deployment before upgrading: + +``` +kubectl delete deploy jenkins +``` + + ## Configuration The following tables list the configurable parameters of the Jenkins chart and their default values.