mirror of https://github.com/Mai-with-u/MaiBot.git
fix: 修复helm chart不启用WebUI时仍然加载无用的数据卷的问题
parent
96ebcddf76
commit
b93bd8dc14
|
|
@ -142,6 +142,7 @@ spec:
|
|||
path: .env
|
||||
name: {{ .Release.Name }}-maibot-core-env-config
|
||||
name: env-config
|
||||
{{- if not .Values.core.webui.enabled }}
|
||||
- configMap:
|
||||
items:
|
||||
- key: model_config.toml
|
||||
|
|
@ -154,6 +155,7 @@ spec:
|
|||
path: bot_config.toml
|
||||
name: {{ .Release.Name }}-maibot-core-bot-config
|
||||
name: bot-config
|
||||
{{- end }}
|
||||
{{- if .Values.statistics_dashboard.enabled }}
|
||||
- name: statistics
|
||||
persistentVolumeClaim:
|
||||
|
|
|
|||
Loading…
Reference in New Issue