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 pedromcpedro committed May 8, 2024
1 parent 0bbb0bc commit 335423b
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 335423b

Please sign in to comment.