mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 16:09:08 +00:00
[Plex] - Allow claimName to not be specified for extra mounts and add subPath (#168)
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
This commit is contained in:
parent
459110633a
commit
e4528a12c7
@ -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.0.5
|
version: 2.1.0
|
||||||
keywords:
|
keywords:
|
||||||
- plex
|
- plex
|
||||||
home: https://plex.tv/
|
home: https://plex.tv/
|
||||||
|
@ -241,6 +241,9 @@ spec:
|
|||||||
{{- else }}
|
{{- else }}
|
||||||
- mountPath: /{{ .name }}
|
- mountPath: /{{ .name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .subPath }}
|
||||||
|
subPath: {{ .subPath }}
|
||||||
|
{{ end }}
|
||||||
name: {{ .name }}
|
name: {{ .name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: shared
|
- name: shared
|
||||||
@ -303,9 +306,11 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- range .Values.persistence.extraMounts }}
|
{{- range .Values.persistence.extraMounts }}
|
||||||
|
{{- if .claimName }}
|
||||||
- name: {{ .name }}
|
- name: {{ .name }}
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ .claimName }}
|
claimName: {{ .claimName }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: shared
|
- name: shared
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
@ -218,8 +218,11 @@ persistence:
|
|||||||
## Claim will me mounted as /{mountPath} if specified. If no {mountPath} is given,
|
## Claim will me mounted as /{mountPath} if specified. If no {mountPath} is given,
|
||||||
## mountPath will default to {name}
|
## mountPath will default to {name}
|
||||||
# - name: video
|
# - name: video
|
||||||
# claimName: video-claim
|
# # if claimName is specified the a new volume will mounted, if omitted the mount will be considered to be associated with one of the standard volumes (e.g data, config, transcode).
|
||||||
|
# # This useful to mount data to a different subPath
|
||||||
|
# claimName: optional-claim
|
||||||
# mountPath: /mnt/path/in/pod
|
# mountPath: /mnt/path/in/pod
|
||||||
|
# subPath: optional/sub/path
|
||||||
|
|
||||||
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