mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-05 18:51:13 -03:30
Add etcd key and cert environment variables for use with client auth
This commit is contained in:
@@ -34,6 +34,9 @@
|
||||
delegate_to: "{{groups['etcd'][0]}}"
|
||||
changed_when: false
|
||||
run_once: true
|
||||
environment:
|
||||
ETCDCTL_CERT_FILE: "{{ etcd_cert_dir }}/node-{{ inventory_hostname }}.pem"
|
||||
ETCDCTL_KEY_FILE: "{{ etcd_cert_dir }}/node-{{ inventory_hostname }}-key.pem"
|
||||
|
||||
- name: Canal | Create canal node manifests
|
||||
template:
|
||||
|
||||
Reference in New Issue
Block a user