Skip to content
Snippets Groups Projects
Unverified Commit dd9d0c05 authored by Anton Fayzrahmanov's avatar Anton Fayzrahmanov Committed by GitHub
Browse files

optional calico_ip_auto_method variable with IP_AUTODETECTION_METHOD

can be set to one of
first-found
can-reach 
interface
parent f0773459
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment