Disable calicoctl from creating a default pool

Sometimes invoking calicoctl to create a pool also
creates a default pool, which causes errors in deploy.
This commit is contained in:
Matthew Mosesohn 2016-08-31 12:53:33 +03:00
parent cb6def8fee
commit 0847e893ca

View file

@ -73,6 +73,8 @@
- name: Calico | Configure calico network pool {{ pool_task_name|default('') }}
command: "{{ bin_dir}}/calicoctl pool add {{ kube_pods_subnet }} {{ ipip_arg|default('') }} {{ nat_arg|default('') }}"
environment:
NO_DEFAULT_POOLS: true
run_once: true
when: calico_conf.status == 404