mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
[plex] Allow custom extraMount paths (#270)
* Allow extraMounts for Plex, mimicks NZBGet's setup * Allow extraMounts for Plex, mimicks NZBGet's setup * Opps, had an extra end * Up chart up a version since a feature is added instead of a bugfix * Try and get rid of the weird EOF error. Added a space at the end. * Dang fat fingers! * Shouldnt have deleted this! Needed to end the range block * Doh! Wrong spot
This commit is contained in:
parent
e1b17cb080
commit
222718f335
@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: 1.19.1.2645-ccb6eb67e
|
||||
description: Plex Media Server
|
||||
name: plex
|
||||
version: 1.5.2
|
||||
version: 1.6.0
|
||||
keywords:
|
||||
- plex
|
||||
home: https://plex.tv/
|
||||
|
@ -209,6 +209,10 @@ spec:
|
||||
- mountPath: "/data-{{ .name }}"
|
||||
name: "extradata-{{ .name }}"
|
||||
{{- end }}
|
||||
{{- range .Values.persistence.extraMounts }}
|
||||
- mountPath: "/{{ .name }}"
|
||||
name: "{{ .name }}"
|
||||
{{- end }}
|
||||
- name: shared
|
||||
mountPath: /shared
|
||||
{{- if .Values.plexPreferences.enabled }}
|
||||
@ -266,6 +270,11 @@ spec:
|
||||
{{- else }}
|
||||
claimName: "extradata-{{ .name }}"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- range .Values.persistence.extraMounts }}
|
||||
- name: {{ .name }}
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .claimName }}
|
||||
{{- end }}
|
||||
- name: shared
|
||||
emptyDir: {}
|
||||
|
@ -209,6 +209,13 @@ persistence:
|
||||
# - claimName: "special-tv"
|
||||
# name: 'foo'
|
||||
|
||||
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}
|
||||
# - name: video
|
||||
# claimName: video-claim
|
||||
|
||||
config:
|
||||
# Optionally specify claimName to manually override the PVC to be used for
|
||||
# the config directory. If claimName is specified, storageClass and size
|
||||
|
Loading…
Reference in New Issue
Block a user