From 2af4cab3d0fbed101b5e532b5b0861712b1ecc3f Mon Sep 17 00:00:00 2001 From: Junhao Zou Date: Thu, 17 Aug 2023 15:57:07 +0800 Subject: [PATCH] fix: replace volume.pvc_exists with master.pvc_exists (#4762) --- k8s/charts/seaweedfs/templates/master-statefulset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/charts/seaweedfs/templates/master-statefulset.yaml b/k8s/charts/seaweedfs/templates/master-statefulset.yaml index 038526211..7a01eff85 100644 --- a/k8s/charts/seaweedfs/templates/master-statefulset.yaml +++ b/k8s/charts/seaweedfs/templates/master-statefulset.yaml @@ -236,7 +236,7 @@ spec: nodeSelector: {{ tpl .Values.master.nodeSelector . | indent 8 | trim }} {{- end }} - {{- $pvc_exists := include "volume.pvc_exists" . -}} + {{- $pvc_exists := include "master.pvc_exists" . -}} {{- if $pvc_exists }} volumeClaimTemplates: {{- if eq .Values.master.data.type "persistentVolumeClaim"}}