From bf4188666027a935edfb1fba2c09e10cb371bb24 Mon Sep 17 00:00:00 2001 From: perf3ct Date: Wed, 25 Jun 2025 18:56:36 +0000 Subject: [PATCH] fix(helm): the user doesn't need to specify a watch directory if they don't want to use it --- charts/readur/templates/checks.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/charts/readur/templates/checks.yaml b/charts/readur/templates/checks.yaml index 908f11f..b9f4475 100644 --- a/charts/readur/templates/checks.yaml +++ b/charts/readur/templates/checks.yaml @@ -2,10 +2,4 @@ {{- if and (eq .Values.persistence.uploads.type "persistentVolumeClaim") (not .Values.persistence.uploads.existingClaim) -}} {{- $name := .Values.persistence.uploads.existingClaim | required "You need to specify an existing PVC for uploads storage at persistence.uploads.existingClaim or let the chart create one" -}} {{- end -}} -{{- end -}} - -{{- if .Values.persistence.watch.enabled -}} - {{- if and (eq .Values.persistence.watch.type "persistentVolumeClaim") (not .Values.persistence.watch.existingClaim) -}} - {{- $name := .Values.persistence.watch.existingClaim | required "You need to specify an existing PVC for watch folder at persistence.watch.existingClaim or let the chart create one" -}} - {{- end -}} {{- end -}} \ No newline at end of file