Browse Source

Merge pull request #2971 from elementyang/calico-pr

change create to apply
pull/2956/merge
Rong Zhang 6 years ago
committed by GitHub
parent
commit
f1e348ab95
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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