add option '--nat-outgoing' for calico on clouds

This commit is contained in:
Smaine Kahlouch 2016-02-01 09:47:51 +01:00
parent 64be24dd20
commit 3bb6066558

View file

@ -27,7 +27,7 @@
run_once: true
- name: Calico | Configure calico network pool for cloud
command: "calicoctl pool add {{ kube_pods_subnet }} --ipip"
command: "calicoctl pool add {{ kube_pods_subnet }} --ipip --nat-outgoing"
run_once: true
when: calico_conf.status == 404 and cloud_provider is defined and cloud_provider == True