Skip to content

Commit

Permalink
stable/jenkins - Changes as per JENKINS-47112 (helm#23429)
Browse files Browse the repository at this point in the history
* Changes as per JENKINS-47112

Signed-off-by: Noel Georgi <git@frezbo.com>

* Bump chart version

Signed-off-by: Noel Georgi <git@frezbo.com>
Signed-off-by: Miguel de Barros <miguel@debarros.me>
  • Loading branch information
frezbo authored and mdebarros committed Aug 21, 2020
1 parent 2ae3b3b commit 5232c05
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
8 changes: 8 additions & 0 deletions stable/jenkins/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ numbering uses [semantic versioning](http://semver.org).

NOTE: The change log until version 1.5.7 is auto generated based on git commits. Those include a reference to the git commit to be able to get more details.

## 2.5.2

Fix as per JENKINS-47112

## 2.5.1

Support Jenkins Resource Root URL

## 2.5.0

Add an option to specify that Jenkins master should be initialized only once, during first install.
Expand Down
2 changes: 1 addition & 1 deletion stable/jenkins/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: jenkins
home: https://jenkins.io/
version: 2.5.1
version: 2.5.2
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
Expand Down
14 changes: 7 additions & 7 deletions stable/jenkins/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,13 @@ Returns kubernetes pod template configuration as code
command: {{ .Values.agent.command }}
{{- end }}
envVars:
- containerEnvVar:
key: "JENKINS_URL"
{{- if .Values.master.slaveJenkinsUrl }}
value: {{ tpl .Values.master.slaveJenkinsUrl . }}
{{- else }}
value: "http://{{ template "jenkins.fullname" . }}.{{ template "jenkins.namespace" . }}.svc.{{.Values.clusterZone}}:{{.Values.master.servicePort}}{{ default "" .Values.master.jenkinsUriPrefix }}"
{{- end }}
- envVar:
key: "JENKINS_URL"
{{- if .Values.master.slaveJenkinsUrl }}
value: {{ tpl .Values.master.slaveJenkinsUrl . }}
{{- else }}
value: "http://{{ template "jenkins.fullname" . }}.{{ template "jenkins.namespace" . }}.svc.{{.Values.clusterZone}}:{{.Values.master.servicePort}}{{ default "" .Values.master.jenkinsUriPrefix }}"
{{- end }}
{{- if .Values.agent.imageTag }}
image: "{{ .Values.agent.image }}:{{ .Values.agent.imageTag }}"
{{- else }}
Expand Down

0 comments on commit 5232c05

Please sign in to comment.