mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/jenkins] Allow templating of all string values except type for kubernetes volumes plugin xml (#22567)
* feat(stable/jenkins): Allow templating of all string values except type for kubernetes volumes plugin xml Signed-off-by: Krishnakumar Venkataraman <krishnakumar.venkataraman@ally.com> * [stable/jenkins]: merged latest and fixed comments for 1.23.2 Signed-off-by: Krishnakumar Venkataraman <krishnakumar.venkataraman@ally.com> * [stable/jenkins]: fixed 1.23.0 and added 1.23.1 changelog Signed-off-by: Krishnakumar Venkataraman <krishnakumar.venkataraman@ally.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
## 1.23.2
|
||||
|
||||
In the `jenkins.xml.podTemplate` helper function, allow templating of all string values under `agent.volumes` except `type` by rendering them with the `tpl` function
|
||||
|
||||
## 1.23.1
|
||||
|
||||
Added auto detection for Ingress API version
|
||||
|
||||
## 1.23.0
|
||||
|
||||
Allow to use an existing secret for the jenkins admin credentials
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
name: jenkins
|
||||
home: https://jenkins.io/
|
||||
version: 1.23.1
|
||||
version: 1.23.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
|
||||
|
||||
@@ -275,7 +275,7 @@ Returns kubernetes pod template xml configuration
|
||||
<org.csanchez.jenkins.plugins.kubernetes.volumes.{{ $volume.type }}Volume>
|
||||
{{- end }}
|
||||
{{- range $key, $value := $volume }}{{- if not (eq $key "type") }}
|
||||
<{{ $key }}>{{ $value }}</{{ $key }}>
|
||||
<{{ $key }}>{{ if kindIs "string" $value }}{{ tpl $value $ }}{{ else }}{{ $value }}{{ end }}</{{ $key }}>
|
||||
{{- end }}{{- end }}
|
||||
{{- if (eq $volume.type "PVC") }}
|
||||
</org.csanchez.jenkins.plugins.kubernetes.volumes.PersistentVolumeClaim>
|
||||
|
||||
Reference in New Issue
Block a user