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