feature: reduce telemetry dependence. (#6276)

Co-authored-by: joyceliu <joyceliu@yunify.com>
This commit is contained in:
liujian
2024-11-26 11:31:35 +08:00
committed by GitHub
parent fa7c1340e3
commit d0483aa39a
30 changed files with 1958 additions and 113 deletions

View File

@@ -69,10 +69,6 @@ data:
appSelector: {{ .Values.composedApp.appSelector | quote }}
kubesphere:
tls: {{ .Values.internalTLS }}
{{- if and .Values.telemetry.enabled (eq (include "role" .) "host") }}
telemetry:
ksCloudURL: "https://kubesphere.cloud"
{{- end }}
{{- if and (eq (include "role" .) "host") .Values.ha.enabled -}}
{{- if .Values.ha.cache }}
cache: {{- toYaml .Values.ha.cache | nindent 6}}

View File

@@ -0,0 +1,12 @@
{{ if eq (include "role" .) "host" }}
apiVersion: v1
kind: Secret
metadata:
name: io.kubesphere.config.platformconfig.telemetry
namespace: {{ .Release.Namespace | quote }}
type: config.kubesphere.io/platformconfig
stringData:
configuration.yaml: |
enabled: true
ksCloudURL: "https://kubesphere.cloud"
{{- end }}