From 7dcb5d9d3bb3b9bcc8932d4e13646435d501a3f1 Mon Sep 17 00:00:00 2001 From: KubeSphere CI Bot <47586280+ks-ci-bot@users.noreply.github.com> Date: Fri, 13 Sep 2024 16:49:02 +0800 Subject: [PATCH] [release-4.1] Update telemetry config (#6172) Update telemetry config Signed-off-by: hongming Co-authored-by: hongming --- config/ks-core/templates/kubesphere-config.yaml | 8 +------- config/ks-core/values.yaml | 5 ++++- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/config/ks-core/templates/kubesphere-config.yaml b/config/ks-core/templates/kubesphere-config.yaml index f6f2b246c..e29deace0 100644 --- a/config/ks-core/templates/kubesphere-config.yaml +++ b/config/ks-core/templates/kubesphere-config.yaml @@ -69,15 +69,9 @@ data: appSelector: {{ .Values.composedApp.appSelector | quote }} kubesphere: tls: {{ .Values.internalTLS }} - {{- if and .Values.cloud.enabled (eq (include "role" .) "host") }} + {{- if and .Values.telemetry.enabled (eq (include "role" .) "host") }} telemetry: - {{- if eq .Values.cloud.env "clouddev.kubesphere.io" }} - ksCloudURL: "https://clouddev.kubesphere.io" - {{- else if eq .Values.cloud.env "kubesphere.cloud" }} ksCloudURL: "https://kubesphere.cloud" - {{- else if and .Values.cloud.customEnv .Values.cloud.customEnv.url }} - ksCloudURL: {{ $.Values.cloud.customEnv.url | quote }} - {{- end }} {{- end }} {{- if .Values.ha.enabled -}} {{- if .Values.ha.cache }} diff --git a/config/ks-core/values.yaml b/config/ks-core/values.yaml index 10468b195..611cc0d48 100644 --- a/config/ks-core/values.yaml +++ b/config/ks-core/values.yaml @@ -320,7 +320,10 @@ nodeShell: tag: "v1.27.16" pullPolicy: IfNotPresent -cloud: +# Telemetry collects aggregated information about the versions of KubeSphere, Kubernetes, and the extensions used. +# KubeSphere Cloud uses this information to help improve the product and does not share it with third-parties. +# If you prefer not to share this data, you can keep this setting disabled. +telemetry: enabled: true extension: