diff --git a/charts/plex/Chart.yaml b/charts/plex/Chart.yaml index f2973a15..8ee10aac 100644 --- a/charts/plex/Chart.yaml +++ b/charts/plex/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: 1.20.2.3402 description: Plex Media Server name: plex -version: 2.1.1 +version: 2.2.0 keywords: - plex home: https://plex.tv/ diff --git a/charts/plex/templates/deployment.yaml b/charts/plex/templates/deployment.yaml index 87b83595..c42fa742 100644 --- a/charts/plex/templates/deployment.yaml +++ b/charts/plex/templates/deployment.yaml @@ -310,6 +310,9 @@ spec: - name: {{ .name }} persistentVolumeClaim: claimName: {{ .claimName }} + {{- else if .volume }} + - name: {{ .name }} + {{- toYaml .volume | nindent 8 }} {{- end }} {{- end }} - name: shared diff --git a/charts/plex/values.yaml b/charts/plex/values.yaml index 1a7ecdff..e3c452a1 100644 --- a/charts/plex/values.yaml +++ b/charts/plex/values.yaml @@ -223,6 +223,16 @@ persistence: # claimName: optional-claim # mountPath: /mnt/path/in/pod # subPath: optional/sub/path + # + ## Example using an existing NFS filer directly. Below the 'volume' key all volume types are allowed (eg. nfs, iscsi, hostPath). + ## See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#volume-v1-core for further information + # - name: example2 + # mountPath: mnt/example2 + # volume: + # nfs: + # server: + # path: + # readOnly: true config: # Optionally specify claimName to manually override the PVC to be used for