Add subPath for jenkins-home mount (#9671)

Signed-off-by: Francois JACQUES <fjacques@murex.com>
This commit is contained in:
François JACQUES
2018-12-17 10:08:19 -08:00
committed by Kubernetes Prow Robot
parent aa83af5109
commit a9c76ac9b1
3 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -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
+1
View File
@@ -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