mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/jenkins] revert runAsUser comparison (#22054)
* [stable/jenkins] revert runAsUser comparison Signed-off-by: Torsten Walter <torsten.walter@syncier.com> * [stable/jenkins] convert runAsUser to int Signed-off-by: Torsten Walter <torsten.walter@syncier.com>
This commit is contained in:
@@ -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.16.2
|
||||
|
||||
Reverts 1.16.1 as it introduced an error #22047
|
||||
|
||||
## 1.16.1
|
||||
|
||||
Fixed a bug with master.runAsUser variable due to use wrong type for comparison.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
name: jenkins
|
||||
home: https://jenkins.io/
|
||||
version: 1.16.1
|
||||
version: 1.16.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
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
master:
|
||||
overwritePluginsFromImage: false
|
||||
runAsUser: 0
|
||||
fsGroup: 1000
|
||||
agent:
|
||||
resources:
|
||||
limits:
|
||||
|
||||
@@ -73,7 +73,7 @@ spec:
|
||||
securityContext:
|
||||
runAsUser: {{ default 0 .Values.master.runAsUser }}
|
||||
{{- if and (.Values.master.runAsUser) (.Values.master.fsGroup) }}
|
||||
{{- if not (eq .Values.master.runAsUser 0) }}
|
||||
{{- if not (eq (int .Values.master.runAsUser) 0) }}
|
||||
fsGroup: {{ .Values.master.fsGroup }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user