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

This commit is contained in:
zhangxinhui02 committed 2025-11-21 04:25:25 +08:00
1 parent b10bcc3432
commit 96ebcddf76
2 files changed
+4

No files matched your search

@@ -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 }}
@@ -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 }}