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": "sahara-api --config-file /etc/sahara/sahara.conf",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/sahara.conf",
|
|
"dest": "/etc/sahara/sahara.conf",
|
|
"owner": "sahara",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/policy.json",
|
|
"dest": "/etc/sahara/policy.json",
|
|
"owner": "sahara",
|
|
"perm": "0600",
|
|
"optional": true
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/lib/sahara",
|
|
"owner": "sahara:sahara",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/var/log/kolla/sahara",
|
|
"owner": "sahara:sahara",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|