Skip to content

Commit d9dddf9

Browse files
assumptionsandgAlex-Welsh
authored andcommitted
Fix etcd backend certificates not being templated
etcd backend certificates won't be templated due to `etcd_enable_tls_backend` not being defined, which results in the `kolla_copy_backend_tls_files` variable evaluating to false. Change-Id: I04d3b93aa15fb18fb8beefd49c0ba8a0c0dfca08 Signed-off-by: Jake Hutchinson <[email protected]> (cherry picked from commit 44e56e8)
1 parent eb92fea commit d9dddf9

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

ansible/roles/etcd/defaults/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,8 @@ etcd_remove_deleted_members: "no"
8585
# Copy certificates
8686
###################
8787
etcd_copy_certs: "{{ kolla_copy_ca_into_containers | bool or etcd_enable_tls | bool }}"
88+
89+
###################
90+
# TLS
91+
###################
92+
etcd_enable_tls_backend: "{{ etcd_enable_tls | bool }}"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Fix an issue causing etcd backend TLS certificates to not be templated as
5+
the ``kolla_copy_backend_tls_files`` variable was evaluating to false due
6+
to the ``etcd_enable_tls_backend`` variable being undefined.

0 commit comments

Comments
 (0)