mirror of
https://github.com/truenas/charts.git
synced 2026-04-23 10:00:05 +08:00
* add node-red - initial commit * add templtes * add ci values and questions * run single test * all but one * add trace logging * hmmmm * root * add tests * no 18 for now * update questions and chart.yaml * fix tests * bump common
35 lines
1019 B
Smarty
35 lines
1019 B
Smarty
{{- define "nodered.persistence" -}}
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
type: {{ .Values.noderedStorage.data.type }}
|
|
datasetName: {{ .Values.noderedStorage.data.datasetName | default "" }}
|
|
hostPath: {{ .Values.noderedStorage.data.hostPath | default "" }}
|
|
targetSelector:
|
|
nodered:
|
|
nodered:
|
|
mountPath: /data
|
|
01-permissions:
|
|
mountPath: /mnt/directories/data
|
|
tmp:
|
|
enabled: true
|
|
type: emptyDir
|
|
targetSelector:
|
|
nodered:
|
|
nodered:
|
|
mountPath: /tmp
|
|
{{- range $idx, $storage := .Values.noderedStorage.additionalStorages }}
|
|
{{ printf "nodered-%v" (int $idx) }}:
|
|
enabled: true
|
|
type: {{ $storage.type }}
|
|
datasetName: {{ $storage.datasetName | default "" }}
|
|
hostPath: {{ $storage.hostPath | default "" }}
|
|
targetSelector:
|
|
nodered:
|
|
nodered:
|
|
mountPath: {{ $storage.mountPath }}
|
|
01-permissions:
|
|
mountPath: /mnt/directories{{ $storage.mountPath }}
|
|
{{- end }}
|
|
{{- end -}}
|