775d8019b6
Include custom policy.json files in service-api.json.j2 files Change-Id: Ic55bfc6f61131aa72c3497ce8b2282056bcc7f92 Partially-Implements: blueprint custom-policies
26 lines
664 B
Django/Jinja
26 lines
664 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"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/policy.json",
|
|
"dest": "/etc/glance/policy.json",
|
|
"owner": "glance",
|
|
"perm": "0600",
|
|
"optional": true
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/glance",
|
|
"owner": "glance:glance",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|