fix: 修复helm chart不覆盖configmap导致configmap被自动删除的问题
This commit is contained in:
@@ -6,6 +6,8 @@ kind: ConfigMap
|
|||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}-maibot-core-bot-config
|
name: {{ .Release.Name }}-maibot-core-bot-config
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
|
annotations:
|
||||||
|
"helm.sh/resource-policy": keep
|
||||||
data:
|
data:
|
||||||
bot_config.toml: |
|
bot_config.toml: |
|
||||||
{{ .Values.config.core_bot_config | nindent 4 }}
|
{{ .Values.config.core_bot_config | nindent 4 }}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ kind: ConfigMap
|
|||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}-maibot-core-model-config
|
name: {{ .Release.Name }}-maibot-core-model-config
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
|
annotations:
|
||||||
|
"helm.sh/resource-policy": keep
|
||||||
data:
|
data:
|
||||||
model_config.toml: |
|
model_config.toml: |
|
||||||
{{ .Values.config.core_model_config | nindent 4 }}
|
{{ .Values.config.core_model_config | nindent 4 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user