mirror of
https://github.com/truenas/charts.git
synced 2026-05-11 11:06:11 +08:00
* Add `plex-auto-languages` to `community` train * no icon * typo * exec bit * remove host net * remove group * false hostNet * fix container detection issue
35 lines
983 B
Smarty
35 lines
983 B
Smarty
{{- define "pal.persistence" -}}
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
type: {{ .Values.palStorage.config.type }}
|
|
datasetName: {{ .Values.palStorage.config.datasetName | default "" }}
|
|
hostPath: {{ .Values.palStorage.config.hostPath | default "" }}
|
|
targetSelector:
|
|
pal:
|
|
pal:
|
|
mountPath: /config
|
|
01-permissions:
|
|
mountPath: /mnt/directories/config
|
|
tmp:
|
|
enabled: true
|
|
type: emptyDir
|
|
targetSelector:
|
|
pal:
|
|
pal:
|
|
mountPath: /tmp
|
|
{{- range $idx, $storage := .Values.palStorage.additionalStorages }}
|
|
{{ printf "pal-%v" (int $idx) }}:
|
|
enabled: true
|
|
type: {{ $storage.type }}
|
|
datasetName: {{ $storage.datasetName | default "" }}
|
|
hostPath: {{ $storage.hostPath | default "" }}
|
|
targetSelector:
|
|
pal:
|
|
pal:
|
|
mountPath: {{ $storage.mountPath }}
|
|
01-permissions:
|
|
mountPath: /mnt/directories{{ $storage.mountPath }}
|
|
{{- end }}
|
|
{{- end -}}
|