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

@@ -225,13 +225,13 @@ spec:
{{- if eq .Values.filer.logs.type "hostPath" }}
- name: seaweedfs-filer-log-volume
hostPath:
path: /storage/logs/seaweedfs/filer
path: {{ .Values.filer.logs.hostPathPrefix }}/logs/seaweedfs/filer
type: DirectoryOrCreate
{{- end }}
{{- if eq .Values.filer.data.type "hostPath" }}
- name: data-filer
hostPath:
path: /storage/filer_store
path: {{ .Values.filer.data.hostPathPrefix }}/filer_store
type: DirectoryOrCreate
{{- end }}
- name: db-schema-config-volume