mirror of
https://github.com/truenas/charts.git
synced 2026-04-29 13:02:54 +08:00
15 lines
464 B
Smarty
15 lines
464 B
Smarty
{{- define "cloudflared.persistence" -}}
|
|
persistence:
|
|
{{- range $idx, $storage := .Values.cloudflaredStorage.additionalStorages }}
|
|
{{ printf "cloudflared-%v" (int $idx) }}:
|
|
enabled: true
|
|
type: {{ $storage.type }}
|
|
datasetName: {{ $storage.datasetName | default "" }}
|
|
hostPath: {{ $storage.hostPath | default "" }}
|
|
targetSelector:
|
|
cloudflared:
|
|
cloudflared:
|
|
mountPath: {{ $storage.mountPath }}
|
|
{{- end }}
|
|
{{- end -}}
|