mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-22 23:18:07 -03:30
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:
parent
7ac7fc33a7
commit
26a0406669
@ -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…
x
Reference in New Issue
Block a user