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

pull/4097/head
Erwan Miran 2019-01-28 08:09:18 +01:00 committed by Kubernetes Prow Robot
parent fcd895d032
commit 556a8d68bc
1 changed files with 2 additions and 0 deletions

View File

@ -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: