mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add subPath for jenkins-home mount (#9671)
Signed-off-by: Francois JACQUES <fjacques@murex.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
aa83af5109
commit
a9c76ac9b1
@@ -1,6 +1,6 @@
|
||||
name: jenkins
|
||||
home: https://jenkins.io/
|
||||
version: 0.25.1
|
||||
version: 0.26.0
|
||||
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
|
||||
|
||||
@@ -194,6 +194,7 @@ It is possible to mount several volumes using `Persistence.volumes` and `Persist
|
||||
| `Persistence.ExistingClaim` | Provide the name of a PVC | `nil` |
|
||||
| `Persistence.AccessMode` | The PVC access mode | `ReadWriteOnce` |
|
||||
| `Persistence.Size` | The size of the PVC | `8Gi` |
|
||||
| `Persistence.SubPath` | SubPath for jenkins-home mount | `nil` |
|
||||
| `Persistence.volumes` | Additional volumes | `nil` |
|
||||
| `Persistence.mounts` | Additional mounts | `nil` |
|
||||
|
||||
|
||||
@@ -73,6 +73,9 @@ spec:
|
||||
-
|
||||
mountPath: /var/jenkins_home
|
||||
name: jenkins-home
|
||||
{{- if .Values.Persistence.SubPath }}
|
||||
subPath: {{ .Values.Persistence.SubPath }}
|
||||
{{- end }}
|
||||
-
|
||||
mountPath: /var/jenkins_config
|
||||
name: jenkins-config
|
||||
@@ -175,6 +178,9 @@ spec:
|
||||
mountPath: /var/jenkins_home
|
||||
name: jenkins-home
|
||||
readOnly: false
|
||||
{{- if .Values.Persistence.SubPath }}
|
||||
subPath: {{ .Values.Persistence.SubPath }}
|
||||
{{- end }}
|
||||
-
|
||||
mountPath: /var/jenkins_config
|
||||
name: jenkins-config
|
||||
|
||||
Reference in New Issue
Block a user