]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
dashboard: add allow_embedding support
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 12 Jun 2019 06:01:06 +0000 (08:01 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 12 Jun 2019 21:05:26 +0000 (17:05 -0400)
Add a variable to support the allow_embedding support.

See ceph/ceph-ansible/issues/4084 for details.

Fixes: #4084
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 27856cc49959de0f7cfaef63f4a674fb3264a232)

group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-defaults/defaults/main.yml
roles/ceph-grafana/templates/grafana.ini.j2

index e5933378a384f41e8f301814615b2fef8828fac2..305d14e2db86a644741ec9825401a9deea57168e 100644 (file)
@@ -727,6 +727,7 @@ dummy:
 #grafana_plugins:
 #  - vonage-status-panel
 #  - grafana-piechart-panel
+#grafana_allow_embedding: True
 #prometheus_container_image: prom/prometheus:latest
 #prometheus_container_cpu_period: 100000
 #prometheus_container_cpu_cores: 2
index 91c0740637039ca64366a604b5c3cbc65c16a529..b67529cb2599e91a4843e23e41cb85f6ffad9714 100644 (file)
@@ -727,6 +727,7 @@ ceph_docker_registry: "registry.access.redhat.com"
 #grafana_plugins:
 #  - vonage-status-panel
 #  - grafana-piechart-panel
+#grafana_allow_embedding: True
 #prometheus_container_image: prom/prometheus:latest
 #prometheus_container_cpu_period: 100000
 #prometheus_container_cpu_cores: 2
index 03cec9aa0d989a344d9198f57d80d2de906e41d1..632ffde3d19253dad1f1e6210231df9faf7557a9 100644 (file)
@@ -719,6 +719,7 @@ grafana_dashboards_path: "/etc/grafana/dashboards/ceph-dashboard"
 grafana_plugins:
   - vonage-status-panel
   - grafana-piechart-panel
+grafana_allow_embedding: True
 prometheus_container_image: prom/prometheus:latest
 prometheus_container_cpu_period: 100000
 prometheus_container_cpu_cores: 2
index 0ea67e9fa22d8d4d79e6cc0bf55a04ef14616861..0afe023c3c5b2f249c49a85bc3359feac8f4e1a1 100644 (file)
@@ -24,3 +24,4 @@ protocol = {{ dashboard_protocol }}
 [security]
 admin_user = {{ grafana_admin_user }}
 admin_password = {{ grafana_admin_password }}
+allow_embedding = {{ grafana_allow_embedding }}