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: