fix: 修复helm chart不覆盖configmap导致configmap被自动删除的问题

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

View File

@ -6,6 +6,8 @@ kind: ConfigMap
metadata:
name: {{ .Release.Name }}-maibot-core-bot-config
namespace: {{ .Release.Namespace }}
annotations:
"helm.sh/resource-policy": keep
data:
bot_config.toml: |
{{ .Values.config.core_bot_config | nindent 4 }}

View File

@ -6,6 +6,8 @@ kind: ConfigMap
metadata:
name: {{ .Release.Name }}-maibot-core-model-config
namespace: {{ .Release.Namespace }}
annotations:
"helm.sh/resource-policy": keep
data:
model_config.toml: |
{{ .Values.config.core_model_config | nindent 4 }}