mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +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
|
appVersion: 1.20.2.3402
|
||||||
description: Plex Media Server
|
description: Plex Media Server
|
||||||
name: plex
|
name: plex
|
||||||
version: 2.1.1
|
version: 2.2.0
|
||||||
keywords:
|
keywords:
|
||||||
- plex
|
- plex
|
||||||
home: https://plex.tv/
|
home: https://plex.tv/
|
||||||
|
@ -310,6 +310,9 @@ spec:
|
|||||||
- name: {{ .name }}
|
- name: {{ .name }}
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ .claimName }}
|
claimName: {{ .claimName }}
|
||||||
|
{{- else if .volume }}
|
||||||
|
- name: {{ .name }}
|
||||||
|
{{- toYaml .volume | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: shared
|
- name: shared
|
||||||
|
@ -223,6 +223,16 @@ persistence:
|
|||||||
# claimName: optional-claim
|
# claimName: optional-claim
|
||||||
# mountPath: /mnt/path/in/pod
|
# mountPath: /mnt/path/in/pod
|
||||||
# subPath: optional/sub/path
|
# 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:
|
config:
|
||||||
# Optionally specify claimName to manually override the PVC to be used for
|
# Optionally specify claimName to manually override the PVC to be used for
|
||||||
|
Loading…
Reference in New Issue
Block a user