From 9780ac185631633ce3102fcac5cb043451352757 Mon Sep 17 00:00:00 2001
From: Tatjana Dehler
Date: Thu, 7 May 2020 15:59:08 +0200
Subject: [PATCH] mgr/dashboard: replace hard coded telemetry URLs
Replace the hard coded telemetry URLs by the
actual config option values given by the cluster.
Fixes: https://tracker.ceph.com/issues/45319
Signed-off-by: Tatjana Dehler
(cherry picked from commit 9735947b4c159aec616493021cc2a39049418dc1)
---
.../app/ceph/cluster/telemetry/telemetry.component.html | 3 ++-
.../app/ceph/cluster/telemetry/telemetry.component.ts | 9 +++++++--
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.html
index 8d02a031a24..748ffd4231c 100644
--- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.html
+++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.html
@@ -25,7 +25,8 @@
The data being reported does not contain any sensitive data like pool names, object names, object contents,
hostnames, or device serial numbers. It contains counters and statistics on how the cluster has been
deployed, the version of Ceph, the distribution of the hosts and other parameters which help the project
- to gain a better understanding of the way Ceph is used. The data is sent secured to https://telemetry.ceph.com.
+ to gain a better understanding of the way Ceph is used. The data is sent secured to {{ sendToUrl }} and
+ {{ sendToDeviceUrl }} (device report).
The plugin is already enabled. Click Deactivate to disable it.