|
@ -206,19 +206,19 @@ spec: |
|
|
{{- if eq .Values.volume.data.type "hostPath" }} |
|
|
{{- if eq .Values.volume.data.type "hostPath" }} |
|
|
- name: data |
|
|
- name: data |
|
|
hostPath: |
|
|
hostPath: |
|
|
path: /storage/object_store/ |
|
|
|
|
|
|
|
|
path: {{ .Values.volume.data.hostPathPrefix }}/object_store/ |
|
|
type: DirectoryOrCreate |
|
|
type: DirectoryOrCreate |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- if and (eq .Values.volume.idx.type "hostPath") .Values.volume.dir_idx }} |
|
|
{{- if and (eq .Values.volume.idx.type "hostPath") .Values.volume.dir_idx }} |
|
|
- name: idx |
|
|
- name: idx |
|
|
hostPath: |
|
|
hostPath: |
|
|
path: /ssd/seaweedfs-volume-idx/ |
|
|
|
|
|
|
|
|
path: {{ .Values.volume.idx.hostPathPrefix }}/seaweedfs-volume-idx/ |
|
|
type: DirectoryOrCreate |
|
|
type: DirectoryOrCreate |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- if eq .Values.volume.logs.type "hostPath" }} |
|
|
{{- if eq .Values.volume.logs.type "hostPath" }} |
|
|
- name: logs |
|
|
- name: logs |
|
|
hostPath: |
|
|
hostPath: |
|
|
path: /storage/logs/seaweedfs/volume |
|
|
|
|
|
|
|
|
path: {{ .Values.volume.logs.hostPathPrefix }}/logs/seaweedfs/volume |
|
|
type: DirectoryOrCreate |
|
|
type: DirectoryOrCreate |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- if .Values.global.enableSecurity }} |
|
|
{{- if .Values.global.enableSecurity }} |
|
|