diff --git a/helm-chart/templates/core/statefulset.yaml b/helm-chart/templates/core/statefulset.yaml index db8cda78..2bc8d14c 100644 --- a/helm-chart/templates/core/statefulset.yaml +++ b/helm-chart/templates/core/statefulset.yaml @@ -142,6 +142,7 @@ spec: path: .env name: {{ .Release.Name }}-maibot-core-env-config name: env-config + {{- if not .Values.core.webui.enabled }} - configMap: items: - key: model_config.toml @@ -154,6 +155,7 @@ spec: path: bot_config.toml name: {{ .Release.Name }}-maibot-core-bot-config name: bot-config + {{- end }} {{- if .Values.statistics_dashboard.enabled }} - name: statistics persistentVolumeClaim: