fixing deluge downloads-pvc

Signed-off-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
Jeff Billimek 2018-11-04 20:43:54 -05:00
parent 3ded6b6f1f
commit ef10e7f945
2 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 145 appVersion: 145
description: Deluge is a lightweight, Free Software, cross-platform BitTorrent client. description: Deluge is a lightweight, Free Software, cross-platform BitTorrent client.
name: deluge name: deluge
version: 0.1.1 version: 0.1.2
keywords: keywords:
- deluge - deluge
- deluge-torrent - deluge-torrent

View File

@ -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 kind: PersistentVolumeClaim
apiVersion: v1 apiVersion: v1
metadata: metadata:
@ -11,15 +11,15 @@ metadata:
heritage: "{{ .Release.Service }}" heritage: "{{ .Release.Service }}"
spec: spec:
accessModes: accessModes:
- {{ .Values.persistence.accessMode | quote }} - {{ .Values.persistence.downloads.accessMode | quote }}
resources: resources:
requests: requests:
storage: {{ .Values.persistence.size | quote }} storage: {{ .Values.persistence.downloads.size | quote }}
{{- if .Values.persistence.storageClass }} {{- if .Values.persistence.downloads.storageClass }}
{{- if (eq "-" .Values.persistence.storageClass) }} {{- if (eq "-" .Values.persistence.downloads.storageClass) }}
storageClassName: "" storageClassName: ""
{{- else }} {{- else }}
storageClassName: "{{ .Values.persistence.storageClass }}" storageClassName: "{{ .Values.persistence.downloads.storageClass }}"
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end -}} {{- end -}}