08753b404e
Replace grafana home dashboard with file in node_custom_config folder. Change-Id: I00e3963ee287c526935e34169b63b1a40e6b4025
31 lines
860 B
Django/Jinja
31 lines
860 B
Django/Jinja
{
|
|
"command": "/usr/sbin/grafana-server --config=/etc/grafana/grafana.ini",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/grafana.ini",
|
|
"dest": "/etc/grafana/grafana.ini",
|
|
"owner": "grafana",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/grafana_home_dashboard.json",
|
|
"dest": "/usr/share/grafana/public/dashboards/home.json",
|
|
"owner": "root",
|
|
"perm": "0644",
|
|
"optional": true
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/lib/grafana",
|
|
"owner": "grafana:grafana",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/var/log/kolla/grafana",
|
|
"owner": "grafana:grafana",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|