mirror of https://github.com/Mai-with-u/MaiBot.git
编写core的配置文件的configmap模板
parent
ad11f42d3d
commit
dd52b3fff5
|
|
@ -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 }}
|
||||
Loading…
Reference in New Issue