fix(helm): the user doesn't need to specify a watch directory if they don't want to use it

This commit is contained in:
perf3ct 2025-06-25 18:56:36 +00:00
parent a7883c1b63
commit bf41886660
1 changed files with 0 additions and 6 deletions

View File

@ -2,10 +2,4 @@
{{- if and (eq .Values.persistence.uploads.type "persistentVolumeClaim") (not .Values.persistence.uploads.existingClaim) -}} {{- 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" -}} {{- $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 -}}
{{- 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 -}} {{- end -}}