From 8fa36615e188f1d520424748e51a0bd0da5cecf5 Mon Sep 17 00:00:00 2001 From: hongming Date: Mon, 17 Mar 2025 10:55:56 +0800 Subject: [PATCH] chore: simplify telemetry config (#6441) Signed-off-by: hongming --- config/ks-core/templates/platformconfig-telemetry.yaml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/config/ks-core/templates/platformconfig-telemetry.yaml b/config/ks-core/templates/platformconfig-telemetry.yaml index e039f97ab..cb73be4f0 100644 --- a/config/ks-core/templates/platformconfig-telemetry.yaml +++ b/config/ks-core/templates/platformconfig-telemetry.yaml @@ -3,16 +3,9 @@ apiVersion: v1 kind: Secret metadata: name: io.kubesphere.config.platformconfig.telemetry - namespace: {{ .Release.Namespace | quote }} type: config.kubesphere.io/generic-platform-config stringData: configuration.yaml: | enabled: {{ include "telemetry.enabled" . }} - {{- if eq .Values.cloud.env "clouddev.kubesphere.io" }} - endpoint: "https://clouddev.kubesphere.io" - {{- else if eq .Values.cloud.env "kubesphere.cloud" }} endpoint: "https://kubesphere.cloud" - {{- else if and .Values.cloud.customEnv .Values.cloud.customEnv.url }} - endpoint: {{ $.Values.cloud.customEnv.url | quote }} - {{- end }} {{- end }} \ No newline at end of file