kolla-ansible/ansible/roles/etcd/templates/etcd.json.j2
James Kirsch e2b9b2068e Add support for encrypting etcd service
This patch introduces an optional backend encryption for etcd service.

Change-Id: Ia259f7844b868dbc418ace595c87eb1b278d3d38
2020-06-30 08:24:00 -07:00

19 lines
507 B
Django/Jinja

{
"command": "etcd",
"config_files": [
{% if etcd_enable_tls | bool %}
{
"source": "{{ container_config_directory }}/etcd-cert.pem",
"dest": "/etc/etcd/certs/etcd-cert.pem",
"owner": "etcd",
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/etcd-key.pem",
"dest": "/etc/etcd/certs/etcd-key.pem",
"owner": "etcd",
"perm": "0600"
}{% endif %}
]
}