de54518b34
- Vitrage - Watcher - Zun This will copy only yaml or json policy file if they exist. Change-Id: I913b3b067237cc4694894cc00bcc363127dd3806 Implements: blueprint support-custom-policy-yaml Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
25 lines
741 B
Django/Jinja
25 lines
741 B
Django/Jinja
{
|
|
"command": "vitrage-graph --config-file /etc/vitrage/vitrage.conf",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/vitrage.conf",
|
|
"dest": "/etc/vitrage/vitrage.conf",
|
|
"owner": "vitrage",
|
|
"perm": "0644"
|
|
}{% if vitrage_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ vitrage_policy_file }}",
|
|
"dest": "/etc/vitrage/{{ vitrage_policy_file }}",
|
|
"owner": "vitrage",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/vitrage",
|
|
"owner": "vitrage:vitrage",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|