fix: 修复helm chart不启用WebUI时仍然加载无用的数据卷的问题

pull/1370/head
zhangxinhui02 2025-11-21 04:36:56 +08:00
parent 96ebcddf76
commit b93bd8dc14
No known key found for this signature in database
GPG Key ID: 22C23383864A313F
1 changed files with 2 additions and 0 deletions

View File

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