From adf80dc3f6731ee8bd79c2f4dfeb2b3a8e640830 Mon Sep 17 00:00:00 2001 From: samcday Date: Mon, 10 Apr 2023 15:32:31 +0200 Subject: [PATCH] fix(chart): use hostpath filer persistence when deprecated enablePVC is unset (#4384) --- k8s/charts/seaweedfs/templates/filer-statefulset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml index b7227f934..033644150 100644 --- a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml +++ b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml @@ -175,7 +175,7 @@ spec: - mountPath: /etc/sw name: config-users readOnly: true - {{- if .Values.filer.enablePVC }} + {{- if (or .Values.filer.enablePVC (eq .Values.filer.data.type "hostPath")) }} - name: data-filer mountPath: /data {{- end }}