mirror of
https://github.com/truenas/charts.git
synced 2026-05-12 03:26:08 +08:00
* add `flame` to `community` applications * fix secCtx * mroe perms * add ui * remove extra word
35 lines
999 B
Smarty
35 lines
999 B
Smarty
{{- define "flame.persistence" -}}
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
type: {{ .Values.flameStorage.data.type }}
|
|
datasetName: {{ .Values.flameStorage.data.datasetName | default "" }}
|
|
hostPath: {{ .Values.flameStorage.data.hostPath | default "" }}
|
|
targetSelector:
|
|
flame:
|
|
flame:
|
|
mountPath: /app/data
|
|
01-permissions:
|
|
mountPath: /mnt/directories/data
|
|
tmp:
|
|
enabled: true
|
|
type: emptyDir
|
|
targetSelector:
|
|
flame:
|
|
flame:
|
|
mountPath: /tmp
|
|
{{- range $idx, $storage := .Values.flameStorage.additionalStorages }}
|
|
{{ printf "flame-%v" (int $idx) }}:
|
|
enabled: true
|
|
type: {{ $storage.type }}
|
|
datasetName: {{ $storage.datasetName | default "" }}
|
|
hostPath: {{ $storage.hostPath | default "" }}
|
|
targetSelector:
|
|
flame:
|
|
flame:
|
|
mountPath: {{ $storage.mountPath }}
|
|
01-permissions:
|
|
mountPath: /mnt/directories{{ $storage.mountPath }}
|
|
{{- end }}
|
|
{{- end -}}
|