Browse Source

fix incorrect name of volumes

pull/5040/head
Max Roby 1 year ago
committed by Chris Lu
parent
commit
08812f8f5d
  1. 4
      k8s/charts/seaweedfs/templates/master-statefulset.yaml

4
k8s/charts/seaweedfs/templates/master-statefulset.yaml

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

Loading…
Cancel
Save