Fix go template chomping.
All checks were successful
ci/woodpecker/push/jellyfin Pipeline was successful

This commit is contained in:
Alex Manning 2023-09-04 20:35:42 +01:00
parent f204056b30
commit 6aa1757453
2 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -63,7 +63,7 @@ pcv:
config:
existingClaim: ""
storage: 1Gi
storage:
media:
existingClaim: ""
storage: 1Gi
cache: