fix incorrect name of volumes

This commit is contained in:
Max Roby 2023-11-19 10:03:22 +01:00 committed by Chris Lu
parent 676bcf08d6
commit 08812f8f5d

View file

@ -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 }}