From 6205e4481754a6b86567c59d070efc1dd371ebe5 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 --- 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 9d14dbe24..6342daac8 100644 --- a/config/ks-core/templates/kubesphere-config.yaml +++ b/config/ks-core/templates/kubesphere-config.yaml @@ -73,7 +73,7 @@ data: telemetry: ksCloudURL: "https://kubesphere.cloud" {{- end }} - {{- if and (eq (include "role" .) "host" .Values.ha.enabled) -}} + {{- if and (eq (include "role" .) "host") .Values.ha.enabled -}} {{- if .Values.ha.cache }} cache: {{- toYaml .Values.ha.cache | nindent 6}} {{- else }}