Skip to content

Commit 91a2a39

Browse files
authored
stable/jenkins - Changes as per JENKINS-47112 (#23429)
* Changes as per JENKINS-47112 Signed-off-by: Noel Georgi <[email protected]> * Bump chart version Signed-off-by: Noel Georgi <[email protected]>
1 parent 796057c commit 91a2a39

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

charts/jenkins/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ numbering uses [semantic versioning](http://semver.org).
55

66
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.
77

8+
## 2.5.2
9+
10+
Fix as per JENKINS-47112
11+
12+
## 2.5.1
13+
14+
Support Jenkins Resource Root URL
15+
816
## 2.5.0
917

1018
Add an option to specify that Jenkins master should be initialized only once, during first install.

charts/jenkins/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
name: jenkins
33
home: https://jenkins.io/
4-
version: 2.5.1
4+
version: 2.5.2
55
appVersion: lts
66
description: Open source continuous integration server. It supports multiple SCM tools
77
including CVS, Subversion and Git. It can execute Apache Ant and Apache Maven-based

charts/jenkins/templates/_helpers.tpl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,13 @@ Returns kubernetes pod template configuration as code
175175
command: {{ .Values.agent.command }}
176176
{{- end }}
177177
envVars:
178-
- containerEnvVar:
179-
key: "JENKINS_URL"
180-
{{- if .Values.master.slaveJenkinsUrl }}
181-
value: {{ tpl .Values.master.slaveJenkinsUrl . }}
182-
{{- else }}
183-
value: "http://{{ template "jenkins.fullname" . }}.{{ template "jenkins.namespace" . }}.svc.{{.Values.clusterZone}}:{{.Values.master.servicePort}}{{ default "" .Values.master.jenkinsUriPrefix }}"
184-
{{- end }}
178+
- envVar:
179+
key: "JENKINS_URL"
180+
{{- if .Values.master.slaveJenkinsUrl }}
181+
value: {{ tpl .Values.master.slaveJenkinsUrl . }}
182+
{{- else }}
183+
value: "http://{{ template "jenkins.fullname" . }}.{{ template "jenkins.namespace" . }}.svc.{{.Values.clusterZone}}:{{.Values.master.servicePort}}{{ default "" .Values.master.jenkinsUriPrefix }}"
184+
{{- end }}
185185
{{- if .Values.agent.imageTag }}
186186
image: "{{ .Values.agent.image }}:{{ .Values.agent.imageTag }}"
187187
{{- else }}

0 commit comments

Comments
 (0)