Merge pull request #1634 from bradbeam/calico_cni
fix for calico cni plugin node name
This commit is contained in:
commit
69fac8ea58
1 changed files with 5 additions and 1 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue