mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
fixing deluge downloads-pvc
Signed-off-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
parent
3ded6b6f1f
commit
ef10e7f945
@ -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
|
||||
|
@ -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 -}}
|
Loading…
Reference in New Issue
Block a user