optional calico_ip_auto_method variable with IP_AUTODETECTION_METHOD

can be set to one of
first-found
can-reach 
interface
This commit is contained in:
Anton Fayzrahmanov 2018-03-23 16:33:20 +03:00 committed by GitHub
parent f07734596e
commit dd9d0c0530
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,10 +108,15 @@ spec:
configMapKeyRef:
name: calico-config
key: etcd_cert
{% if calico_ip_auto_method is defined %}
- name: IP_AUTODETECTION_METHOD
value: "{{ calico_ip_auto_method }}"
{% else %}
- name: IP
valueFrom:
fieldRef:
fieldPath: status.hostIP
{% endif %}
- name: NODENAME
valueFrom:
fieldRef: