Skip to content
Snippets Groups Projects
Unverified Commit 2beffe68 authored by Jakub Husák's avatar Jakub Husák Committed by GitHub
Browse files

Make etcdctl connect to localhost out of the box (#5643)

* Make etcdctl connect to localhost out of the box

* etcdctl envs: use admin-.pem instead of member-.pem
parent 66408a87
No related branches found
No related tags found
No related merge requests found
......@@ -42,3 +42,9 @@ ETCD_PEER_CLIENT_CERT_AUTH={{ etcd_peer_client_auth }}
{% if host_architecture != "amd64" -%}
ETCD_UNSUPPORTED_ARCH={{host_architecture}}
{%- endif %}
# CLI settings
ETCDCTL_ENDPOINTS=https://127.0.0.1:2379
ETCDCTL_CA_FILE={{ etcd_cert_dir }}/ca.pem
ETCDCTL_KEY_FILE={{ etcd_cert_dir }}/admin-{{ inventory_hostname }}-key.pem
ETCDCTL_CERT_FILE={{ etcd_cert_dir }}/admin-{{ inventory_hostname }}.pem
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment