Browse Source

Set IP env var to autodetect when calico_ip_auto_method is defined (#4105)

pull/4097/head
Erwan Miran 5 years ago
committed by Kubernetes Prow Robot
parent
commit
556a8d68bc
1 changed files with 2 additions and 0 deletions
  1. 2
      roles/network_plugin/calico/templates/calico-node.yml.j2

2
roles/network_plugin/calico/templates/calico-node.yml.j2

@ -128,6 +128,8 @@ spec:
{% if calico_ip_auto_method is defined %}
- name: IP_AUTODETECTION_METHOD
value: "{{ calico_ip_auto_method }}"
- name: IP
value: "autodetect"
{% else %}
- name: IP
valueFrom:

Loading…
Cancel
Save