mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/jenkins] Update init script to configure ssh key correctly. (#17896)
* Modifying the script to behave in the same way it did on v1.6.0. Signed-off-by: Gustavo Bosmak <gustavo.bosmak@gmail.com> * Update init script to configure ssh key correctly. Signed-off-by: Gustavo Bosmak <gustavo.bosmak@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
26861281ab
commit
7798fb5f9b
@@ -6,6 +6,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.7.5
|
||||
|
||||
Fixed an issue where the JCasC won't run if JCasC auto-reload is enabled [issue #17135](https://github.com/helm/charts/issues/17135)
|
||||
|
||||
## 1.7.4
|
||||
|
||||
Comments out JCasC example of jenkins.systemMessage so that it can be used by end users. Previously, an attempt to set systemMessage causes Jenkins to startup, citing duplicate JCasC settings for systemMessage [issue #13333](https://github.com/helm/charts/issues/13333)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
name: jenkins
|
||||
home: https://jenkins.io/
|
||||
version: 1.7.4
|
||||
version: 1.7.5
|
||||
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
|
||||
|
||||
@@ -298,7 +298,7 @@ data:
|
||||
import jenkins.security.*
|
||||
import hudson.model.User
|
||||
import jenkins.model.Jenkins
|
||||
User user = User.get("{{ .Values.master.adminUser | default "admin" }}", false)
|
||||
User user = User.getOrCreateByIdOrFullName("{{ .Values.master.adminUser | default "admin" }}")
|
||||
if (user == null) {
|
||||
System.err.println("ERROR: user '{{ .Values.master.adminUser | default "admin" }}' not found! Can't configure SSH key which is needed to reload JCasC config!")
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user