[Plex] Added the ability to specify subPath on each extraData mount (#159)

Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
This commit is contained in:
Carlos Ravelo 2020-11-15 19:22:08 -05:00 committed by GitHub
parent b80f372c82
commit e67b0cc17b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.20.2.3402
description: Plex Media Server
name: plex
version: 2.0.4
version: 2.0.5
keywords:
- plex
home: https://plex.tv/

View File

@ -230,6 +230,9 @@ spec:
{{ end }}
{{- range .Values.persistence.extraData }}
- mountPath: "/data-{{ .name }}"
{{- if .subPath }}
subPath: {{ .subPath }}
{{ end }}
name: "extradata-{{ .name }}"
{{- end }}
{{- range .Values.persistence.extraMounts }}

View File

@ -210,6 +210,7 @@ persistence:
# with the additional field 'name'
# - claimName: "special-tv"
# name: 'foo'
# subPath: optional/sub/path
extraMounts: []
## Include additional claims that can be mounted inside the