775d8019b6
Include custom policy.json files in service-api.json.j2 files Change-Id: Ic55bfc6f61131aa72c3497ce8b2282056bcc7f92 Partially-Implements: blueprint custom-policies
31 lines
805 B
Django/Jinja
31 lines
805 B
Django/Jinja
{
|
|
"command": "cinder-api --config-file /etc/cinder/cinder.conf",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/cinder.conf",
|
|
"dest": "/etc/cinder/cinder.conf",
|
|
"owner": "cinder",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/policy.json",
|
|
"dest": "/etc/cinder/policy.json",
|
|
"owner": "cinder",
|
|
"perm": "0600",
|
|
"optional": true
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/lib/cinder",
|
|
"owner": "cinder:cinder",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/var/log/kolla/cinder",
|
|
"owner": "cinder:cinder",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|