mirror of https://github.com/Mai-with-u/MaiBot.git
fix: 修复helm chart不覆盖configmap导致configmap被自动删除的问题
parent
b10bcc3432
commit
96ebcddf76
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue