feat: 为helm chart兼容WebUI,添加禁止覆盖配置的选项

This commit is contained in:
zhangxinhui02
2025-11-21 03:48:34 +08:00
parent f558bc191d
commit 95a4e9d8fe
8 changed files with 57 additions and 22 deletions

View File

@@ -29,7 +29,7 @@ data['maibot_server']['host'] = f'{release_name}-maibot-core' # 根据release
data['maibot_server']['port'] = 8000
# 创建/修改configmap
cm_name = f'{release_name}-maibot-adapter'
cm_name = f'{release_name}-maibot-adapter-config'
cm = client.V1ConfigMap(
metadata=client.V1ObjectMeta(name=cm_name),
data={'config.toml': toml.dumps(data)}