From e60a7af64453cc0d9f116795963012480f3c4b7b Mon Sep 17 00:00:00 2001 From: samcday Date: Wed, 12 Apr 2023 18:48:44 +0200 Subject: [PATCH] fix(chart): use filer data PVC correctly (#4398) --- 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 033644150..33e882f85 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 (or .Values.filer.enablePVC (eq .Values.filer.data.type "hostPath")) }} + {{- if (or .Values.filer.enablePVC (or (eq .Values.filer.data.type "hostPath") (eq .Values.filer.data.type "persistentVolumeClaim"))) }} - name: data-filer mountPath: /data {{- end }}