add subpath to data for session info (#70)

This commit is contained in:
Ryan Holt 2019-10-06 10:40:01 -07:00 committed by Jeff Billimek
parent 0902903bae
commit f95ab5d59c
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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: