kolla-ansible/ansible/roles/kuryr/templates/kuryr.json.j2
Eduardo Gonzalez f2fd735d51 Fix kuryr ansible deployment
Missing config options in kuryr.conf
Missing kuryr logging
Remove useless bootstrap task, justs create a directory
Wrong user permissions in config.json file.
Missing volumes
Missing container capabilities

Depends-On: I4c08a21df263fdefe1fe991cb7ad41cfee65019d
Change-Id: Id4577a78ebf3f1cda5ee36d14e2cc017f38e0f07
Closes-bug: #1697480
2017-06-13 13:47:29 +02:00

32 lines
880 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"
},
{
"source": "{{ container_config_directory }}/policy.json",
"dest": "/etc/kuryr/policy.json",
"owner": "kuryr",
"perm": "0600",
"optional": true
}
],
"permissions": [
{
"path": "/var/log/kolla/kuryr",
"owner": "kuryr:kolla",
"recurse": true
}
]
}