775d8019b6
Include custom policy.json files in service-api.json.j2 files Change-Id: Ic55bfc6f61131aa72c3497ce8b2282056bcc7f92 Partially-Implements: blueprint custom-policies
38 lines
1008 B
Django/Jinja
38 lines
1008 B
Django/Jinja
{
|
|
"command": "glance-api",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/glance-api.conf",
|
|
"dest": "/etc/glance/glance-api.conf",
|
|
"owner": "glance",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/policy.json",
|
|
"dest": "/etc/glance/policy.json",
|
|
"owner": "glance",
|
|
"perm": "0600",
|
|
"optional": true
|
|
}{% if glance_backend_ceph | bool %},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.*",
|
|
"dest": "/etc/ceph/",
|
|
"owner": "glance",
|
|
"perm": "0700"
|
|
}
|
|
{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/lib/glance",
|
|
"owner": "glance:glance",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/var/log/kolla/glance",
|
|
"owner": "glance:glance",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|