fix: cache checking always evaluates to true

This commit is contained in:
Xinzhao Xu
2024-10-24 15:04:01 +08:00
committed by wenhaozhou
parent 4fa4f5b42d
commit 6205e44817

View File

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