|
@ -1,6 +1,10 @@ |
|
|
{ |
|
|
{ |
|
|
"name": "calico-k8s-network", |
|
|
"name": "calico-k8s-network", |
|
|
"hostname": "{{ ansible_hostname }}", |
|
|
|
|
|
|
|
|
{% if cloud_provider is defined %} |
|
|
|
|
|
"nodename": "{{ inventory_hostname }}", |
|
|
|
|
|
{% else %} |
|
|
|
|
|
"nodename": "{{ ansible_hostname }}", |
|
|
|
|
|
{% endif %} |
|
|
"type": "calico", |
|
|
"type": "calico", |
|
|
"etcd_endpoints": "{{ etcd_access_endpoint }}", |
|
|
"etcd_endpoints": "{{ etcd_access_endpoint }}", |
|
|
"etcd_cert_file": "{{ etcd_cert_dir }}/node-{{ inventory_hostname }}.pem", |
|
|
"etcd_cert_file": "{{ etcd_cert_dir }}/node-{{ inventory_hostname }}.pem", |
|
|