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 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
@ -14,12 +14,12 @@ spec:
requests: requests:
storage: {{ .Values.pvc.config.storage | quote }} storage: {{ .Values.pvc.config.storage | quote }}
{{- end }} {{- end }}
{{- if not .Values.pvc.media.existingClaim -}} {{- if not .Values.pvc.media.existingClaim }}
--- ---
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
name: {{ include "jellyfin.fullname" . }}-storage name: {{ include "jellyfin.fullname" . }}-media
labels: labels:
{{- include "jellyfin.labels" . | nindent 4 }} {{- include "jellyfin.labels" . | nindent 4 }}
spec: spec:
@ -30,7 +30,7 @@ spec:
requests: requests:
storage: {{ .Values.pvc.media.storage | quote }} storage: {{ .Values.pvc.media.storage | quote }}
{{- end }} {{- end }}
{{- if not .Values.pvc.cache.existingClaim -}} {{- if not .Values.pvc.cache.existingClaim }}
--- ---
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim

View file

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