From 6aa17574535353eca72ca9cfe7515664c7806ceb Mon Sep 17 00:00:00 2001 From: Alex Manning Date: Mon, 4 Sep 2023 20:35:42 +0100 Subject: [PATCH] Fix go template chomping. --- charts/jellyfin/templates/pvc.yaml | 8 ++++---- charts/jellyfin/values.yaml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/jellyfin/templates/pvc.yaml b/charts/jellyfin/templates/pvc.yaml index 408332d..6cfa751 100644 --- a/charts/jellyfin/templates/pvc.yaml +++ b/charts/jellyfin/templates/pvc.yaml @@ -1,4 +1,4 @@ -{{- if not .Values.pvc.config.existingClaim -}} +{{- if not .Values.pvc.config.existingClaim }} --- apiVersion: v1 kind: PersistentVolumeClaim @@ -14,12 +14,12 @@ spec: requests: storage: {{ .Values.pvc.config.storage | quote }} {{- end }} -{{- if not .Values.pvc.media.existingClaim -}} +{{- if not .Values.pvc.media.existingClaim }} --- apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: {{ include "jellyfin.fullname" . }}-storage + name: {{ include "jellyfin.fullname" . }}-media labels: {{- include "jellyfin.labels" . | nindent 4 }} spec: @@ -30,7 +30,7 @@ spec: requests: storage: {{ .Values.pvc.media.storage | quote }} {{- end }} -{{- if not .Values.pvc.cache.existingClaim -}} +{{- if not .Values.pvc.cache.existingClaim }} --- apiVersion: v1 kind: PersistentVolumeClaim diff --git a/charts/jellyfin/values.yaml b/charts/jellyfin/values.yaml index 9c6a879..a486b2b 100644 --- a/charts/jellyfin/values.yaml +++ b/charts/jellyfin/values.yaml @@ -63,7 +63,7 @@ pcv: config: existingClaim: "" storage: 1Gi - storage: + media: existingClaim: "" storage: 1Gi cache: