feature: reduce telemetry dependence. (#6276)
Co-authored-by: joyceliu <joyceliu@yunify.com>
This commit is contained in:
@@ -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}}
|
||||
|
||||
12
config/ks-core/templates/platformconfig-telemetry.yaml
Normal file
12
config/ks-core/templates/platformconfig-telemetry.yaml
Normal 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 }}
|
||||
Reference in New Issue
Block a user