f87814f794
Add TLS support for Glance api using HAProxy to perform TLS termination. Change-Id: I77051baaeb5d3f7dd9002262534e7d35f3926809 Partially-Implements: blueprint add-ssl-internal-network
18 lines
570 B
Django/Jinja
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"
|
|
}
|
|
]
|
|
}
|