Fixes: 4076: Host path prefix should be configurable (#4077)

Co-authored-by: Naden <naden@harana.com>
This commit is contained in:
Naden
2022-12-21 12:24:12 +11:00
committed by GitHub
parent f7beba8515
commit 3b90eb1911
5 changed files with 17 additions and 9 deletions

View File

@@ -196,13 +196,13 @@ spec:
{{- if eq .Values.master.logs.type "hostPath" }}
- name: seaweedfs-master-log-volume
hostPath:
path: /storage/logs/seaweedfs/master
path: {{ .Values.master.logs.hostPathPrefix }}/logs/seaweedfs/master
type: DirectoryOrCreate
{{- end }}
{{- if eq .Values.master.data.type "hostPath" }}
- name: data-{{ .Release.Namespace }}
hostPath:
path: /ssd/seaweed-master/
path: {{ .Values.master.data.hostPathPrefix }}/seaweed-master/
type: DirectoryOrCreate
{{- end }}
{{- if .Values.global.enableSecurity }}