From 93369941e8ab5092e3b6122980627c0fecc101d1 Mon Sep 17 00:00:00 2001 From: Wenhao Zhou <34303854+zhou1203@users.noreply.github.com> Date: Wed, 23 Oct 2024 15:15:59 +0800 Subject: [PATCH] enhancement: disable redis when running as member cluster Signed-off-by: wenhaozhou (cherry picked from commit 4fa4f5b42d438d4bbe726eb257e6d2a6d1c7eccb) Signed-off-by: hongming --- config/ks-core/templates/kubesphere-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/ks-core/templates/kubesphere-config.yaml b/config/ks-core/templates/kubesphere-config.yaml index 447f4cc12..43a13bfb9 100644 --- a/config/ks-core/templates/kubesphere-config.yaml +++ b/config/ks-core/templates/kubesphere-config.yaml @@ -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 }}