From 96ebcddf76312896e4005910b2a892ed852cb366 Mon Sep 17 00:00:00 2001 From: zhangxinhui02 Date: Fri, 21 Nov 2025 04:25:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dhelm=20chart=E4=B8=8D?= =?UTF-8?q?=E8=A6=86=E7=9B=96configmap=E5=AF=BC=E8=87=B4configmap=E8=A2=AB?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=88=A0=E9=99=A4=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helm-chart/templates/core/configmap-bot-config.yaml | 2 ++ helm-chart/templates/core/configmap-model-config.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/helm-chart/templates/core/configmap-bot-config.yaml b/helm-chart/templates/core/configmap-bot-config.yaml index bc40e93a..d1395296 100644 --- a/helm-chart/templates/core/configmap-bot-config.yaml +++ b/helm-chart/templates/core/configmap-bot-config.yaml @@ -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 }} diff --git a/helm-chart/templates/core/configmap-model-config.yaml b/helm-chart/templates/core/configmap-model-config.yaml index 3ce7d95e..bf122244 100644 --- a/helm-chart/templates/core/configmap-model-config.yaml +++ b/helm-chart/templates/core/configmap-model-config.yaml @@ -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 }}