From b110687034538d4df64511118d328dcc8ca79ac4 Mon Sep 17 00:00:00 2001 From: dcplaya Date: Sun, 12 Jul 2020 12:39:13 -0700 Subject: [PATCH] Allow full mount path ability. Matches NZBGet's fix (#278) --- charts/plex/Chart.yaml | 2 +- charts/plex/templates/deployment.yaml | 2 +- charts/plex/values.yaml | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/charts/plex/Chart.yaml b/charts/plex/Chart.yaml index f7847ee3..6729699f 100644 --- a/charts/plex/Chart.yaml +++ b/charts/plex/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 1.19.1.2645-ccb6eb67e description: Plex Media Server name: plex -version: 1.6.0 +version: 1.6.1 keywords: - plex home: https://plex.tv/ diff --git a/charts/plex/templates/deployment.yaml b/charts/plex/templates/deployment.yaml index 633b8f0a..dbeb91d6 100644 --- a/charts/plex/templates/deployment.yaml +++ b/charts/plex/templates/deployment.yaml @@ -210,7 +210,7 @@ spec: name: "extradata-{{ .name }}" {{- end }} {{- range .Values.persistence.extraMounts }} - - mountPath: "/{{ .name }}" + - mountPath: "/{{ .mountPath }}" name: "{{ .name }}" {{- end }} - name: shared diff --git a/charts/plex/values.yaml b/charts/plex/values.yaml index 8a7b7cad..43b9d513 100644 --- a/charts/plex/values.yaml +++ b/charts/plex/values.yaml @@ -212,9 +212,10 @@ persistence: extraMounts: [] ## Include additional claims that can be mounted inside the ## pod. This is useful if you wish to use different paths with categories - ## Claim will me mounted as /{name} + ## Claim will me mounted as /{mountPath} # - name: video # claimName: video-claim + # mountPath: mnt/path/in/pod config: # Optionally specify claimName to manually override the PVC to be used for