Skip to content

Commit

Permalink
Fix etcdctl.sh TLS file path when not using kubeadm. (kubernetes-sigs…
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMou authored and guy.gold committed Oct 30, 2023
1 parent e949ef9 commit 761457d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions roles/etcdctl_etcdutl/templates/etcdctl.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
--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 comments on commit 761457d

Please sign in to comment.