fix overwriteConfig condition (#19910)

Signed-off-by: naresh@getsidecar.com <naresh@getsidecar.com>
This commit is contained in:
nareshnayini
2020-01-07 11:12:19 -08:00
committed by Kubernetes Prow Robot
parent df6d75b078
commit c3bf9967db
3 changed files with 6 additions and 2 deletions
+4
View File
@@ -5,6 +5,10 @@ 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.
## 1.9.13
Fix case sense in `Values.master.overwriteConfig` in `config.yaml`
## 1.9.12
Scriptapprovals are overwritten when overwriteConfig is enabled
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
name: jenkins
home: https://jenkins.io/
version: 1.9.12
version: 1.9.13
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
+1 -1
View File
@@ -256,7 +256,7 @@ data:
yes n | cp -i /usr/share/jenkins/ref/plugins/* /var/jenkins_plugins/;
{{- end }}
{{- if .Values.master.scriptApproval }}
{{- if .Values.Master.OverwriteConfig }}
{{- if .Values.master.OverwriteConfig }}
cp /var/jenkins_config/scriptapproval.xml /var/jenkins_home/scriptApproval.xml;
{{- else }}
yes n | cp -i /var/jenkins_config/scriptapproval.xml /var/jenkins_home/scriptApproval.xml;