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 type: DirectoryOrCreate
{{- end }} {{- end }}
{{- if eq .Values.master.logs.type "existingClaim" }} {{- if eq .Values.master.logs.type "existingClaim" }}
- name: logs - name: seaweedfs-master-log-volume
persistentVolumeClaim: persistentVolumeClaim:
claimName: {{ .Values.master.logs.claimName }} claimName: {{ .Values.master.logs.claimName }}
{{- end }} {{- end }}
@ -234,7 +234,7 @@ spec:
type: DirectoryOrCreate type: DirectoryOrCreate
{{- end }} {{- end }}
{{- if eq .Values.master.data.type "existingClaim" }} {{- if eq .Values.master.data.type "existingClaim" }}
- name: data - name: data-{{ .Release.Namespace }}
persistentVolumeClaim: persistentVolumeClaim:
claimName: {{ .Values.master.data.claimName }} claimName: {{ .Values.master.data.claimName }}
{{- end }} {{- end }}