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
|
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
|
||||||
|
@ -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 -}}
|
Loading…
Reference in New Issue
Block a user