dashboard: add allow_embedding support

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>
pull/4092/head
Guillaume Abrioux 2019-06-12 08:01:06 +02:00
parent 2c9cd9d9e7
commit 27856cc499
4 changed files with 4 additions and 0 deletions

View 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

View 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

View 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

View File

@ -24,3 +24,4 @@ protocol = {{ dashboard_protocol }}
[security]
admin_user = {{ grafana_admin_user }}
admin_password = {{ grafana_admin_password }}
allow_embedding = {{ grafana_allow_embedding }}