enhancement: disable redis when running as member cluster

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>

(cherry picked from commit 4fa4f5b42d)
Signed-off-by: hongming <coder.scala@gmail.com>
This commit is contained in:
Wenhao Zhou
2024-10-23 15:15:59 +08:00
committed by hongming
parent 168bb43cb1
commit 93369941e8

View File

@@ -78,6 +78,11 @@ data:
kubesphere:
tls: {{ .Values.internalTLS }}
{{- if and (eq (include "multicluster.role" .) "host") .Values.ha.enabled -}}
{{- if and .Values.telemetry.enabled (eq (include "multicluster.role" .) "host") }}
telemetry:
ksCloudURL: "https://kubesphere.cloud"
{{- end }}
{{- if and (eq (include "multicluster.role" .) "host" .Values.ha.enabled) -}}
{{- if .Values.ha.cache }}
cache: {{- toYaml .Values.ha.cache | nindent 6}}
{{- else }}