mirror of
https://github.com/truenas/charts.git
synced 2026-05-11 19:16:17 +08:00
* plex - migrate library * temp * add migration * fix typo * cleanup * capabilties * typo * update version * fix condition * claim -> claimToken * cleanup key in migration * keep versions * correct section * token is not required * keep default port * typo
55 lines
1.4 KiB
Smarty
55 lines
1.4 KiB
Smarty
{{- define "plex.persistence" -}}
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
{{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.plexStorage.data) | nindent 4 }}
|
|
targetSelector:
|
|
plex:
|
|
plex:
|
|
mountPath: /data
|
|
config:
|
|
enabled: true
|
|
{{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.plexStorage.config) | nindent 4 }}
|
|
targetSelector:
|
|
plex:
|
|
plex:
|
|
mountPath: /config
|
|
transcode:
|
|
enabled: true
|
|
{{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.plexStorage.transcode) | nindent 4 }}
|
|
targetSelector:
|
|
plex:
|
|
plex:
|
|
mountPath: /transcode
|
|
shared:
|
|
enabled: true
|
|
type: emptyDir
|
|
targetSelector:
|
|
plex:
|
|
plex:
|
|
mountPath: /shared
|
|
logs:
|
|
enabled: true
|
|
type: emptyDir
|
|
targetSelector:
|
|
plex:
|
|
plex:
|
|
mountPath: "/config/Library/Application Support/Plex Media Server/Logs"
|
|
tmp:
|
|
enabled: true
|
|
type: emptyDir
|
|
targetSelector:
|
|
plex:
|
|
plex:
|
|
mountPath: /tmp
|
|
{{- range $idx, $storage := .Values.plexStorage.additionalStorages }}
|
|
{{ printf "plex-%v:" (int $idx) }}
|
|
enabled: true
|
|
{{- include "ix.v1.common.app.storageOptions" (dict "storage" $storage) | nindent 4 }}
|
|
targetSelector:
|
|
plex:
|
|
plex:
|
|
mountPath: {{ $storage.mountPath }}
|
|
{{- end }}
|
|
{{- end -}}
|