Add --ipip to calico if on cloud_proivder
parent
faf50ea698
commit
925f8db610
|
@ -1 +1 @@
|
|||
Subproject commit 60a66ca0ae4dc9a7e29b9b9619134adada53e1a4
|
||||
Subproject commit 5eea5899a49b25b7f7a2048940f826bcd21de894
|
|
@ -1 +1 @@
|
|||
Subproject commit a03a14c46f19732fa7a3ee37a37d9f0375a6e2d2
|
||||
Subproject commit 0f9cda318283ba67b73ba57e794347cbffb2a169
|
|
@ -4,3 +4,5 @@
|
|||
|
||||
## interface that should be used for flannel operations
|
||||
# flannel_interface:
|
||||
|
||||
# cloud_provider: no
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue