4f8eb892c7
- Freezer - Gnocchi - Kuryr - Murano - Panko This will copy only yaml or json policy file if they exist. Change-Id: I5450839cb06c515f2be445883421f8f987ca834d Implements: blueprint support-custom-policy-yaml Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
31 lines
922 B
Django/Jinja
31 lines
922 B
Django/Jinja
{
|
|
"command": "kuryr-server --config-file /etc/kuryr/kuryr.conf",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/kuryr.conf",
|
|
"dest": "/etc/kuryr/kuryr.conf",
|
|
"owner": "kuryr",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/kuryr.spec",
|
|
"dest": "/usr/lib/docker/plugins/kuryr/kuryr.spec",
|
|
"owner": "root",
|
|
"perm": "0600"
|
|
}{% if kuryr_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ kuryr_policy_file }}",
|
|
"dest": "/etc/kuryr/{{ kuryr_policy_file }}",
|
|
"owner": "kuryr",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/kuryr",
|
|
"owner": "kuryr:kolla",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|