From fc21e9bc75342a7f3294cb57fb3edfcac40f8d39 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Mon, 13 Nov 2023 13:06:33 +0200 Subject: [PATCH] also handle incomplete dir persistence when disabled --- .../ix-dev/community/transmission/templates/_persistence.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/ix-dev/community/transmission/templates/_persistence.tpl b/library/ix-dev/community/transmission/templates/_persistence.tpl index f8bfb98cc0..998185a9a2 100644 --- a/library/ix-dev/community/transmission/templates/_persistence.tpl +++ b/library/ix-dev/community/transmission/templates/_persistence.tpl @@ -22,6 +22,7 @@ persistence: mountPath: /downloads/complete 01-permissions: mountPath: /mnt/directories/complete + {{- if .Values.transmissionStorage.enableIncompleteDir }} download-incomplete: enabled: true type: {{ .Values.transmissionStorage.downloadsIncomplete.type }} @@ -33,6 +34,7 @@ persistence: mountPath: /downloads/incomplete 01-permissions: mountPath: /mnt/directories/incomplete + {{- end -}} {{- range $idx, $storage := .Values.transmissionStorage.additionalStorages }} {{ printf "transmission-%v" (int $idx) }}: {{- $size := "" -}}