kolla-ansible/ansible/roles/glance/templates/glance-tls-proxy.json.j2
James Kirsch f87814f794 Add support for encrypting Glance api
Add TLS support for Glance api using HAProxy to perform TLS termination.

Change-Id: I77051baaeb5d3f7dd9002262534e7d35f3926809
Partially-Implements: blueprint add-ssl-internal-network
2020-04-30 17:31:58 +01:00

18 lines
570 B
Django/Jinja

{
"command": "/usr/sbin/haproxy -W -db -p /run/haproxy.pid -f /etc/glance/glance-tls-proxy.cfg",
"config_files": [
{
"source": "{{ container_config_directory }}/glance-tls-proxy.cfg",
"dest": "/etc/glance/glance-tls-proxy.cfg",
"owner": "glance",
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/glance-cert-and-key.pem",
"dest": "/etc/glance/certs/glance-cert-and-key.pem",
"owner": "glance",
"perm": "0600"
}
]
}