kolla-ansible/ansible/roles/karbor/templates/karbor-protection.json.j2
Mohamed El Gindi e65f4ec7cd Karbor providers managed from deployment node
Karbor provider configs can be injected/managed from 'node_custom_config' var

openstack-infra.conf will still be created if no custom providers present

Closes-Bug #1814464

Change-Id: I500daae80596cb7b7342fd8d4affa8f901b24a13
2019-02-14 08:52:33 -08:00

25 lines
659 B
Django/Jinja

{
"command": "karbor-protection --config-file /etc/karbor/karbor.conf",
"config_files": [
{
"source": "{{ container_config_directory }}/karbor.conf",
"dest": "/etc/karbor/karbor.conf",
"owner": "karbor",
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/providers.d/*",
"dest": "/etc/karbor/providers.d/",
"owner": "karbor",
"perm": "0600"
}
],
"permissions": [
{
"path": "/var/log/kolla/karbor",
"owner": "karbor:karbor",
"recurse": true
}
]
}