etcd: Set the proper peer and client protocol when tls is enabled

Partial-Bug: #1930109

Change-Id: I383b2b5a139d24a419145473b66a34c06e32060a
This commit is contained in:
Matthew N Heler 2023-02-26 07:46:16 -06:00 committed by Michal Nasiadka
parent ad745bf1f8
commit ee336ac45c

View File

@ -50,5 +50,5 @@ etcd_extra_volumes: "{{ default_extra_volumes }}"
############ ############
# Endpoints # Endpoints
############ ############
etcd_client_internal_endpoint: "{{ internal_protocol }}://{{ api_interface_address | put_address_in_context('url') }}:{{ etcd_client_port }}" etcd_client_internal_endpoint: "{{ etcd_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_peer_internal_endpoint: "{{ etcd_protocol }}://{{ api_interface_address | put_address_in_context('url') }}:{{ etcd_peer_port }}"