fix: cache checking always evaluates to true

(cherry picked from commit 6205e44817)
Signed-off-by: hongming <coder.scala@gmail.com>
This commit is contained in:
Xinzhao Xu
2024-10-24 15:04:01 +08:00
committed by hongming
parent 93369941e8
commit 64e054bde2

View File

@@ -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 }}