feat: 为helm chart兼容WebUI,当启用WebUI时默认禁止覆盖配置

This commit is contained in:
zhangxinhui02
2025-11-21 04:12:29 +08:00
parent 95a4e9d8fe
commit b10bcc3432
4 changed files with 21 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
{{- if or .Release.IsInstall .Values.config.enable_config_override }}
{{- if or .Release.IsInstall (and .Values.core.webui.enabled .Values.config.enable_config_override_with_webui) (and (not .Values.core.webui.enabled) .Values.config.enable_config_override_without_webui) }}
# 渲染规则:
# 初次安装,或配置了覆盖规则
apiVersion: v1