Files
chart/library/ix-dev/community/chia/templates/_helper.tpl
Stavros Kois 275657f0c3 NAS-121031 / None / Add chia to community train (#1031)
* add chia to community train

* dummy commit

* add update_strategy
2023-03-20 17:34:29 +02:00

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 -}}