Skip to content
Snippets Groups Projects
Unverified Commit 2c132dcc authored by Romain's avatar Romain Committed by GitHub
Browse files

Fix etcdctl.sh TLS file path when not using kubeadm. (#10467)

parent 7919a471
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ etcdctl \
--cert {{ kube_cert_dir }}/etcd/server.crt \
--key {{ kube_cert_dir }}/etcd/server.key "$@"
{% else %}
--cacert {{ etcd_cert_dir }}/etcd/ca.crt \
--cert {{ etcd_cert_dir }}/etcd/server.crt \
--key {{ etcd_cert_dir }}/etcd/server.key "$@"
{% endif %}
\ No newline at end of file
--cacert {{ etcd_cert_dir }}/ca.pem \
--cert {{ etcd_cert_dir }}/admin-{{ inventory_hostname }}.pem \
--key {{ etcd_cert_dir }}/admin-{{ inventory_hostname }}-key.pem "$@"
{% endif %}
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