Set IP env var to autodetect when calico_ip_auto_method is defined (#4105)
This commit is contained in:
parent
fcd895d032
commit
556a8d68bc
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue