mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 15:39:02 +00:00
[plex] Add ability to define volume in extraMounts (#504)
This commit is contained in:
parent
31dfcaa92b
commit
4c9639d125
@ -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/
|
||||
|
@ -310,6 +310,9 @@ spec:
|
||||
- name: {{ .name }}
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .claimName }}
|
||||
{{- else if .volume }}
|
||||
- name: {{ .name }}
|
||||
{{- toYaml .volume | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
- name: shared
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user