_helper.tpl 368 B

1234567891011121314
  1. {{- define "chia.plotDirs" -}}
  2. {{- $plotDirs := list "/plots" -}}
  3. {{- range $vol := .Values.chiaStorage.additionalVolumes -}}
  4. {{- if $vol.isPlotDir -}}
  5. {{- $plotDirs = mustAppend $plotDirs $vol.mountPath -}}
  6. {{- end -}}
  7. {{- end -}}
  8. {{- join ":" $plotDirs -}}
  9. {{- end -}}
  10. {{- define "chia.keyfile" -}}
  11. {{ print "/plots/keyfile" }}
  12. {{- end -}}