From d6d7ceed52fcf2a37eb8959870c91f9e7025691d Mon Sep 17 00:00:00 2001 From: hongming Date: Thu, 12 Sep 2024 11:11:37 +0800 Subject: [PATCH] Update src/main/ks-core Signed-off-by: hongming --- src/main/ks-core/templates/kubesphere-config.yaml | 8 +------- src/main/ks-core/values.yaml | 5 ++++- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/main/ks-core/templates/kubesphere-config.yaml b/src/main/ks-core/templates/kubesphere-config.yaml index f6f2b246..e29deace 100644 --- a/src/main/ks-core/templates/kubesphere-config.yaml +++ b/src/main/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/src/main/ks-core/values.yaml b/src/main/ks-core/values.yaml index 10468b19..611cc0d4 100644 --- a/src/main/ks-core/values.yaml +++ b/src/main/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: