change create to apply

This commit is contained in:
elementyang 2018-07-06 19:36:19 +08:00
parent 5c617c5a8b
commit 8fee1ab102

View file

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