[plex] Add ability to define volume in extraMounts (#504)

This commit is contained in:
Marco Kilchhofer 2021-01-21 18:22:25 +01:00 committed by GitHub
parent 31dfcaa92b
commit 4c9639d125
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 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.1.1
version: 2.2.0
keywords:
- plex
home: https://plex.tv/

View File

@ -310,6 +310,9 @@ spec:
- name: {{ .name }}
persistentVolumeClaim:
claimName: {{ .claimName }}
{{- else if .volume }}
- name: {{ .name }}
{{- toYaml .volume | nindent 8 }}
{{- end }}
{{- end }}
- name: shared

View File

@ -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: <nfs server fqdn or ip>
# path: <nfs export path>
# readOnly: true
config:
# Optionally specify claimName to manually override the PVC to be used for