775d8019b6
Include custom policy.json files in service-api.json.j2 files Change-Id: Ic55bfc6f61131aa72c3497ce8b2282056bcc7f92 Partially-Implements: blueprint custom-policies
25 lines
723 B
Django/Jinja
25 lines
723 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": "root",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/kuryr.spec",
|
|
"dest": "/usr/lib/docker/plugins/kuryr/kuryr.spec",
|
|
"owner": "root",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/policy.json",
|
|
"dest": "/etc/kuryr/policy.json",
|
|
"owner": "kuryr",
|
|
"perm": "0600",
|
|
"optional": true
|
|
}
|
|
]
|
|
}
|