mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 05:45:06 +03:00
Add etcd key and cert environment variables for use with client auth
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
bin_dir: /usr/local/bin
|
||||
system_namespace: kube-system
|
||||
ansible_ssh_pipelining: true
|
||||
etcd_cert_dir: /etc/ssl/etcd/ssl
|
||||
commands:
|
||||
- name: timedate_info
|
||||
cmd: timedatectl status
|
||||
@@ -85,6 +86,10 @@
|
||||
- /var/log/calico/felix/current
|
||||
- /var/log/calico/confd/current
|
||||
|
||||
environment:
|
||||
ETCDCTL_CERT_FILE: "{{ etcd_cert_dir }}/node-{{ inventory_hostname }}.pem"
|
||||
ETCDCTL_KEY_FILE: "{{ etcd_cert_dir }}/node-{{ inventory_hostname }}-key.pem"
|
||||
|
||||
tasks:
|
||||
- set_fact:
|
||||
etcd_access_addresses: |-
|
||||
|
||||
Reference in New Issue
Block a user