mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +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
|
appVersion: 1.19.1.2645-ccb6eb67e
|
||||||
description: Plex Media Server
|
description: Plex Media Server
|
||||||
name: plex
|
name: plex
|
||||||
version: 1.5.2
|
version: 1.6.0
|
||||||
keywords:
|
keywords:
|
||||||
- plex
|
- plex
|
||||||
home: https://plex.tv/
|
home: https://plex.tv/
|
||||||
|
@ -209,6 +209,10 @@ spec:
|
|||||||
- mountPath: "/data-{{ .name }}"
|
- mountPath: "/data-{{ .name }}"
|
||||||
name: "extradata-{{ .name }}"
|
name: "extradata-{{ .name }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- range .Values.persistence.extraMounts }}
|
||||||
|
- mountPath: "/{{ .name }}"
|
||||||
|
name: "{{ .name }}"
|
||||||
|
{{- end }}
|
||||||
- name: shared
|
- name: shared
|
||||||
mountPath: /shared
|
mountPath: /shared
|
||||||
{{- if .Values.plexPreferences.enabled }}
|
{{- if .Values.plexPreferences.enabled }}
|
||||||
@ -266,6 +270,11 @@ spec:
|
|||||||
{{- else }}
|
{{- else }}
|
||||||
claimName: "extradata-{{ .name }}"
|
claimName: "extradata-{{ .name }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- range .Values.persistence.extraMounts }}
|
||||||
|
- name: {{ .name }}
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .claimName }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: shared
|
- name: shared
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
@ -209,6 +209,13 @@ persistence:
|
|||||||
# - claimName: "special-tv"
|
# - claimName: "special-tv"
|
||||||
# name: 'foo'
|
# 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:
|
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
|
||||||
# the config directory. If claimName is specified, storageClass and size
|
# the config directory. If claimName is specified, storageClass and size
|
||||||
|
Loading…
Reference in New Issue
Block a user