Browse Source

Updating calicocni.hostname to calicocni.nodename

pull/1634/head
Brad Beam 7 years ago
parent
commit
eeffbbb43c
1 changed files with 2 additions and 2 deletions
  1. 4
      roles/network_plugin/calico/templates/cni-calico.conf.j2

4
roles/network_plugin/calico/templates/cni-calico.conf.j2

@ -1,9 +1,9 @@
{
"name": "calico-k8s-network",
{% if cloud_provider is defined %}
"hostname": "{{ inventory_hostname }}",
"nodename": "{{ inventory_hostname }}",
{% else %}
"hostname": "{{ ansible_hostname }}",
"nodename": "{{ ansible_hostname }}",
{% endif %}
"type": "calico",
"etcd_endpoints": "{{ etcd_access_endpoint }}",

Loading…
Cancel
Save