From ef10e7f9452b65ea0802bddba76513a50be16865 Mon Sep 17 00:00:00 2001 From: Jeff Billimek Date: Sun, 4 Nov 2018 20:43:54 -0500 Subject: [PATCH] fixing deluge downloads-pvc Signed-off-by: Jeff Billimek --- deluge/Chart.yaml | 2 +- deluge/templates/downloads-pvc.yaml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/deluge/Chart.yaml b/deluge/Chart.yaml index 9ad55678..44537e6a 100644 --- a/deluge/Chart.yaml +++ b/deluge/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 145 description: Deluge is a lightweight, Free Software, cross-platform BitTorrent client. name: deluge -version: 0.1.1 +version: 0.1.2 keywords: - deluge - deluge-torrent diff --git a/deluge/templates/downloads-pvc.yaml b/deluge/templates/downloads-pvc.yaml index 22a28114..11b5b9f8 100644 --- a/deluge/templates/downloads-pvc.yaml +++ b/deluge/templates/downloads-pvc.yaml @@ -1,5 +1,5 @@ -{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }} +{{- if and .Values.persistence.downloads.enabled (not .Values.persistence.downloads.existingClaim) }} kind: PersistentVolumeClaim apiVersion: v1 metadata: @@ -11,15 +11,15 @@ metadata: heritage: "{{ .Release.Service }}" spec: accessModes: - - {{ .Values.persistence.accessMode | quote }} + - {{ .Values.persistence.downloads.accessMode | quote }} resources: requests: - storage: {{ .Values.persistence.size | quote }} -{{- if .Values.persistence.storageClass }} -{{- if (eq "-" .Values.persistence.storageClass) }} + storage: {{ .Values.persistence.downloads.size | quote }} +{{- if .Values.persistence.downloads.storageClass }} +{{- if (eq "-" .Values.persistence.downloads.storageClass) }} storageClassName: "" {{- else }} - storageClassName: "{{ .Values.persistence.storageClass }}" + storageClassName: "{{ .Values.persistence.downloads.storageClass }}" {{- end }} {{- end }} {{- end -}} \ No newline at end of file