Skip to content

Commit

Permalink
Calico : remove nodename from configmap in etcd mode
Browse files Browse the repository at this point in the history
  • Loading branch information
olevitt committed Nov 10, 2023
1 parent 1916587 commit 64ba3b1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions roles/network_plugin/calico/templates/calico-config.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ data:
{% if calico_datastore == "kdd" %}
"datastore_type": "kubernetes",
"nodename": "__KUBERNETES_NODE_NAME__",
{% else %}
{% if cloud_provider is defined %}
"nodename": "{{ calico_kubelet_name.stdout }}",
{% else %}
"nodename": "{{ calico_baremetal_nodename }}",
{% endif %}
{% endif %}
"type": "calico",
"log_level": "info",
Expand Down

0 comments on commit 64ba3b1

Please sign in to comment.