d77930373e
- Keystone - Glance - Nova - Cinder This will copy only yaml or json policy file if they exist. Change-Id: I4a9415d82322aed68c9b7650bdf346f58fa49e2a Implements: blueprint support-custom-policy-yaml Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
25 lines
709 B
Django/Jinja
25 lines
709 B
Django/Jinja
{
|
|
"command": "glance-registry",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/glance-registry.conf",
|
|
"dest": "/etc/glance/glance-registry.conf",
|
|
"owner": "glance",
|
|
"perm": "0600"
|
|
}{% if glance_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ glance_policy_file }}",
|
|
"dest": "/etc/glance/{{ glance_policy_file }}",
|
|
"owner": "glance",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/glance",
|
|
"owner": "glance:glance",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|