mirror of
https://github.com/truenas/charts.git
synced 2026-04-14 10:40:31 +08:00
15 lines
368 B
Smarty
15 lines
368 B
Smarty
{{- define "chia.plotDirs" -}}
|
|
{{- $plotDirs := list "/plots" -}}
|
|
{{- range $vol := .Values.chiaStorage.additionalVolumes -}}
|
|
{{- if $vol.isPlotDir -}}
|
|
{{- $plotDirs = mustAppend $plotDirs $vol.mountPath -}}
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
|
{{- join ":" $plotDirs -}}
|
|
{{- end -}}
|
|
|
|
{{- define "chia.keyfile" -}}
|
|
{{ print "/plots/keyfile" }}
|
|
{{- end -}}
|