113b77c8cb
Support to deploy skyline by kolla-ansible. Implements: blueprint skyline Depends-On: https://review.opendev.org/c/openstack/kolla/+/826948 Change-Id: Ice5621491a432ba32138abd6f62d1f815cc219e0
37 lines
1.1 KiB
Django/Jinja
37 lines
1.1 KiB
Django/Jinja
{
|
|
"command": "gunicorn -c /etc/skyline/gunicorn.py skyline_apiserver.main:app",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/skyline.yaml",
|
|
"dest": "/etc/skyline/skyline.yaml",
|
|
"owner": "skyline",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/gunicorn.py",
|
|
"dest": "/etc/skyline/gunicorn.py",
|
|
"owner": "skyline",
|
|
"perm": "0600"
|
|
}{% if skyline_enable_tls_backend | bool %},
|
|
{
|
|
"source": "{{ container_config_directory }}/skyline-cert.pem",
|
|
"dest": "/etc/skyline/certs/skyline-cert.pem",
|
|
"owner": "skyline",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/skyline-key.pem",
|
|
"dest": "/etc/skyline/certs/skyline-key.pem",
|
|
"owner": "skyline",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/skyline",
|
|
"owner": "skyline:skyline",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|