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

This commit is contained in:
Erwan Miran 2019-01-28 08:09:18 +01:00 committed by Kubernetes Prow Robot
parent fcd895d032
commit 556a8d68bc

View file

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