Skip to content

Commit

Permalink
Update src/main/ks-core
Browse files Browse the repository at this point in the history
Signed-off-by: hongming <[email protected]>
  • Loading branch information
wansir committed Sep 12, 2024
1 parent 21729be commit d6d7cee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
8 changes: 1 addition & 7 deletions src/main/ks-core/templates/kubesphere-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
5 changes: 4 additions & 1 deletion src/main/ks-core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d6d7cee

Please sign in to comment.