Skip to content
Snippets Groups Projects
Commit 7127e6de authored by Antoine Legrand's avatar Antoine Legrand
Browse files

Add --ipip to calico if on cloud_proivder

parent faf50ea6
No related branches found
No related tags found
Loading
......@@ -4,3 +4,5 @@
## interface that should be used for flannel operations
# flannel_interface:
# cloud_provider: no
\ No newline at end of file
......@@ -27,7 +27,7 @@
run_once: true
- name: Calico | Configure calico network pool
shell: calicoctl pool add {{ kube_pods_subnet }}
command: calicoctl pool add {{ kube_pods_subnet }} {%- if cloud_provider is defined and cloud_provider == True -%} --ipip{%- endif -%}
run_once: true
when: calico_conf.status == 404
......
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