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:
|
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 }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue