e2b9b2068e
This patch introduces an optional backend encryption for etcd service. Change-Id: Ia259f7844b868dbc418ace595c87eb1b278d3d38
19 lines
507 B
Django/Jinja
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 %}
|
|
]
|
|
}
|