From 64e054bde2d11b4f834d24855e8a2281040dba9a Mon Sep 17 00:00:00 2001 From: Xinzhao Xu Date: Thu, 24 Oct 2024 15:04:01 +0800 Subject: [PATCH] fix: cache checking always evaluates to true (cherry picked from commit 6205e4481754a6b86567c59d070efc1dd371ebe5) Signed-off-by: hongming --- config/ks-core/templates/kubesphere-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/ks-core/templates/kubesphere-config.yaml b/config/ks-core/templates/kubesphere-config.yaml index 43a13bfb9..b01bf93ba 100644 --- a/config/ks-core/templates/kubesphere-config.yaml +++ b/config/ks-core/templates/kubesphere-config.yaml @@ -82,7 +82,7 @@ data: telemetry: ksCloudURL: "https://kubesphere.cloud" {{- end }} - {{- if and (eq (include "multicluster.role" .) "host" .Values.ha.enabled) -}} + {{- if and (eq (include "multicluster.role" .) "host") .Values.ha.enabled -}} {{- if .Values.ha.cache }} cache: {{- toYaml .Values.ha.cache | nindent 6}} {{- else }}