Make Calico nodename overridable on bare metal

Signed-off-by: Daniel Mohr <daniel.mohr@supercrunch.io>
This commit is contained in:
Daniel Mohr
2018-05-14 14:13:51 +02:00
parent 02cd5418c2
commit 476b14b06e
2 changed files with 3 additions and 1 deletions

View File

@@ -6,7 +6,7 @@
{% if cloud_provider is defined %}
"nodename": "{{ calico_kubelet_name.stdout }}",
{% else %}
"nodename": "{{ inventory_hostname }}",
"nodename": "{{ calico_baremetal_nodename }}",
{% endif %}
"type": "calico",
"etcd_endpoints": "{{ etcd_access_addresses }}",