diff --git a/stable/jenkins/Chart.yaml b/stable/jenkins/Chart.yaml index 3164c265c0..6df136496d 100755 --- a/stable/jenkins/Chart.yaml +++ b/stable/jenkins/Chart.yaml @@ -1,6 +1,6 @@ name: jenkins home: https://jenkins.io/ -version: 0.36.5 +version: 0.37.0 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/templates/jcasc_config.yaml b/stable/jenkins/templates/jcasc-config.yaml similarity index 81% rename from stable/jenkins/templates/jcasc_config.yaml rename to stable/jenkins/templates/jcasc-config.yaml index 13a8850c14..f0f776354f 100644 --- a/stable/jenkins/templates/jcasc_config.yaml +++ b/stable/jenkins/templates/jcasc-config.yaml @@ -5,8 +5,9 @@ apiVersion: v1 kind: ConfigMap metadata: - name: jenkins-config-{{ template "jenkins.fullname" $root }}-{{ $key }} + name: {{ template "jenkins.fullname" $root }}-jenkins-config-{{ $key }} labels: + {{ template "jenkins.fullname" $root }}-jenkins-config: "true" {{ $.Values.Master.Sidecars.configAutoReload.label | default "jenkins_config" }}: "true" release: {{ $root.Release.Name }} chart: "{{ $root.Chart.Name }}-{{ $root.Chart.Version }}" diff --git a/stable/jenkins/templates/jenkins-master-deployment.yaml b/stable/jenkins/templates/jenkins-master-deployment.yaml index 0e77a08a42..058958baae 100644 --- a/stable/jenkins/templates/jenkins-master-deployment.yaml +++ b/stable/jenkins/templates/jenkins-master-deployment.yaml @@ -272,7 +272,7 @@ spec: - name: JENKINSRELOADCONFIG value: "true" - name: LABEL - value: "{{ .Values.Master.Sidecars.configAutoReload.label }}" + value: "{{ template "jenkins.fullname" . }}-jenkins-config" - name: FOLDER value: "{{ .Values.Master.Sidecars.configAutoReload.folder }}" - name: NAMESPACE diff --git a/stable/jenkins/values.yaml b/stable/jenkins/values.yaml index 33788d3c6e..7be6e93d6f 100644 --- a/stable/jenkins/values.yaml +++ b/stable/jenkins/values.yaml @@ -205,8 +205,6 @@ Master: # accessible via SSH from outside of the pod. Note if you use non-root pod privileges (RunAsUser & FsGroup), # this must be > 1024: sshTcpPort: 1044 - # label that the configmaps with dashboards are marked with: - label: jenkins_config # folder in the pod that should hold the collected dashboards: folder: /var/jenkins_home/casc_configs # If specified, the sidecar will search for dashboard config-maps inside this namespace.