From ee336ac45c3bc32fa89ddbf6686eb9649c7b7532 Mon Sep 17 00:00:00 2001 From: Matthew N Heler Date: Sun, 26 Feb 2023 07:46:16 -0600 Subject: [PATCH] etcd: Set the proper peer and client protocol when tls is enabled Partial-Bug: #1930109 Change-Id: I383b2b5a139d24a419145473b66a34c06e32060a --- ansible/roles/etcd/defaults/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/etcd/defaults/main.yml b/ansible/roles/etcd/defaults/main.yml index 6a39d765e9..c85af4be9a 100644 --- a/ansible/roles/etcd/defaults/main.yml +++ b/ansible/roles/etcd/defaults/main.yml @@ -50,5 +50,5 @@ etcd_extra_volumes: "{{ default_extra_volumes }}" ############ # Endpoints ############ -etcd_client_internal_endpoint: "{{ internal_protocol }}://{{ api_interface_address | put_address_in_context('url') }}:{{ etcd_client_port }}" -etcd_peer_internal_endpoint: "{{ internal_protocol }}://{{ api_interface_address | put_address_in_context('url') }}:{{ etcd_peer_port }}" +etcd_client_internal_endpoint: "{{ etcd_protocol }}://{{ api_interface_address | put_address_in_context('url') }}:{{ etcd_client_port }}" +etcd_peer_internal_endpoint: "{{ etcd_protocol }}://{{ api_interface_address | put_address_in_context('url') }}:{{ etcd_peer_port }}"