Browse Source

change create to apply

pull/2971/head
elementyang 6 years ago
parent
commit
8fee1ab102
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/network_plugin/calico/tasks/main.yml

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

@ -113,7 +113,7 @@
"apiVersion": "v1", "apiVersion": "v1",
"metadata": {"cidr": "{{ kube_pods_subnet }}"} "metadata": {"cidr": "{{ kube_pods_subnet }}"}
}' }'
| {{ bin_dir }}/calicoctl create -f -
| {{ bin_dir }}/calicoctl apply -f -
environment: environment:
NO_DEFAULT_POOLS: true NO_DEFAULT_POOLS: true
run_once: true run_once: true

Loading…
Cancel
Save