Browse Source

Merge pull request #126 from ansibl8s/calico_nat_outgoing

add option '--nat-outgoing' for calico on clouds
pull/128/head
Antoine Legrand 8 years ago
parent
commit
896f59267a
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/network_plugin/tasks/calico.yml

2
roles/network_plugin/tasks/calico.yml

@ -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

Loading…
Cancel
Save