编写core的配置文件的configmap模板

pull/1198/head
zhangxinhui02 2025-08-19 22:42:41 +08:00
parent a40e2479bc
commit 2e9907fc87
No known key found for this signature in database
GPG Key ID: 22C23383864A313F
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-maibot-core
namespace: {{ .Release.Namespace }}
data:
.env: |
HOST=0.0.0.0
PORT=8000
model_config: |
{{ .Values.config.core_model_config | indent 4 }}
bot_config.toml: |
{{ .Values.config.core_bot_config | indent 4 }}