Browse Source

Disable calicoctl from creating a default pool

Sometimes invoking calicoctl to create a pool also
creates a default pool, which causes errors in deploy.
pull/462/head
Matthew Mosesohn 8 years ago
parent
commit
26a0406669
1 changed files with 2 additions and 0 deletions
  1. 2
      roles/network_plugin/calico/tasks/main.yml

2
roles/network_plugin/calico/tasks/main.yml

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

Loading…
Cancel
Save