mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-04 11:08:16 -03:30
Add etcd key and cert environment variables for use with client auth
This commit is contained in:
@@ -83,6 +83,8 @@
|
||||
uri:
|
||||
url: https://localhost:2379/health
|
||||
validate_certs: no
|
||||
client_cert: "{{ etcd_cert_dir }}/node-{{ inventory_hostname }}.pem"
|
||||
client_key: "{{ etcd_cert_dir }}/node-{{ inventory_hostname }}-key.pem"
|
||||
register: result
|
||||
until: result.status == 200 or result.status == 401
|
||||
retries: 10
|
||||
|
||||
Reference in New Issue
Block a user