Fix etcdctl.sh TLS file path when not using kubeadm. (#10467)
parent
7919a47165
commit
2c132dccba
|
@ -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 "$@"
|
||||
--cacert {{ etcd_cert_dir }}/ca.pem \
|
||||
--cert {{ etcd_cert_dir }}/admin-{{ inventory_hostname }}.pem \
|
||||
--key {{ etcd_cert_dir }}/admin-{{ inventory_hostname }}-key.pem "$@"
|
||||
{% endif %}
|
Loading…
Reference in New Issue