feat(helm chart): 挂载adapter的配置文件pvc到core中,为WebUI提供修改adapter配置的能力。

This commit is contained in:
zhangxinhui02
2025-12-23 14:58:23 +08:00
parent f8b7873422
commit 0bfff0457e
2 changed files with 18 additions and 7 deletions

View File

@@ -60,6 +60,9 @@ spec:
- mountPath: /MaiMBot/config/bot_config.toml
name: config
subPath: bot_config.toml
- mountPath: /MaiMBot/adapters-config/config.toml # WebUI修改adapter配置所用
name: adapter-config
subPath: config.toml
{{- if .Values.statistics_dashboard.enabled }}
- mountPath: /MaiMBot/statistics
name: statistics
@@ -90,6 +93,9 @@ spec:
- name: config
persistentVolumeClaim:
claimName: {{ .Release.Name }}-maibot-core-config
- name: adapter-config
persistentVolumeClaim:
claimName: {{ .Release.Name }}-maibot-adapter-config
{{- if .Values.statistics_dashboard.enabled }}
- name: statistics
persistentVolumeClaim: