Merge pull request #1634 from bradbeam/calico_cni

fix for calico cni plugin node name
This commit is contained in:
Brad Beam 2017-09-11 22:18:06 -05:00 committed by GitHub
commit 69fac8ea58

View file

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