From 08812f8f5def5f917e63b2a35119cef47aae1632 Mon Sep 17 00:00:00 2001 From: Max Roby Date: Sun, 19 Nov 2023 10:03:22 +0100 Subject: [PATCH] fix incorrect name of volumes --- k8s/charts/seaweedfs/templates/master-statefulset.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/charts/seaweedfs/templates/master-statefulset.yaml b/k8s/charts/seaweedfs/templates/master-statefulset.yaml index 1121f4754..15b1e9eb4 100644 --- a/k8s/charts/seaweedfs/templates/master-statefulset.yaml +++ b/k8s/charts/seaweedfs/templates/master-statefulset.yaml @@ -223,7 +223,7 @@ spec: type: DirectoryOrCreate {{- end }} {{- if eq .Values.master.logs.type "existingClaim" }} - - name: logs + - name: seaweedfs-master-log-volume persistentVolumeClaim: claimName: {{ .Values.master.logs.claimName }} {{- end }} @@ -234,7 +234,7 @@ spec: type: DirectoryOrCreate {{- end }} {{- if eq .Values.master.data.type "existingClaim" }} - - name: data + - name: data-{{ .Release.Namespace }} persistentVolumeClaim: claimName: {{ .Values.master.data.claimName }} {{- end }}