From 1a687aac206ee31f5303c0620a5fe0f65096296e Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Fri, 14 May 2021 12:08:21 -0400 Subject: [PATCH] mgr/cephadm: fix prometheus jinja template The prometheus yaml file shouldn't use "tab" character but only spaces. Fixes: https://tracker.ceph.com/issues/50717 Signed-off-by: Dimitri Savineau (cherry picked from commit 2d8995e1ded22e680f778c4ef73ddd86592df21c) --- .../mgr/cephadm/templates/services/prometheus/prometheus.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/cephadm/templates/services/prometheus/prometheus.yml.j2 b/src/pybind/mgr/cephadm/templates/services/prometheus/prometheus.yml.j2 index 2b599a06b2af3..f059e4cabc935 100644 --- a/src/pybind/mgr/cephadm/templates/services/prometheus/prometheus.yml.j2 +++ b/src/pybind/mgr/cephadm/templates/services/prometheus/prometheus.yml.j2 @@ -37,6 +37,6 @@ scrape_configs: {% for haproxy in haproxy_targets %} - targets: [{{ haproxy.url }}] labels: - instance: '{{ haproxy.service }}' + instance: '{{ haproxy.service }}' {% endfor %} {% endif %} -- 2.39.5