From f95ab5d59cc4ce31e3bc608cbadc4086a821c8fe Mon Sep 17 00:00:00 2001 From: Ryan Holt Date: Sun, 6 Oct 2019 10:40:01 -0700 Subject: [PATCH] add subpath to data for session info (#70) --- rtorrent-flood/Chart.yaml | 2 +- rtorrent-flood/templates/deployment.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/rtorrent-flood/Chart.yaml b/rtorrent-flood/Chart.yaml index 2c4d0a4b..b70c280f 100644 --- a/rtorrent-flood/Chart.yaml +++ b/rtorrent-flood/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 1.0.0 description: rtorrent and flood co-located in the same deployment name: rtorrent-flood -version: 3.1.1 +version: 3.1.2 keywords: - rtorrent - flood diff --git a/rtorrent-flood/templates/deployment.yaml b/rtorrent-flood/templates/deployment.yaml index 3db8c9ae..1a60120e 100644 --- a/rtorrent-flood/templates/deployment.yaml +++ b/rtorrent-flood/templates/deployment.yaml @@ -56,7 +56,11 @@ spec: {{ end }} - mountPath: /session name: data + {{- if .Values.persistence.data.subPath }} + subPath: {{ .Values.persistence.data.subPath }}/.session + {{- else }} subPath: .session + {{ end }} - mountPath: /socket name: socket resources: