You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
493 B

  1. #!/bin/bash
  2. /usr/bin/docker run -i --privileged --rm \
  3. --net=host --pid=host \
  4. -e ETCD_ENDPOINTS={{ etcd_access_endpoint }} \
  5. -e ETCD_CA_CERT_FILE=/etc/calico/certs/ca_cert.crt \
  6. -e ETCD_CERT_FILE=/etc/calico/certs/cert.crt \
  7. -e ETCD_KEY_FILE=/etc/calico/certs/key.pem \
  8. -v /usr/bin/docker:/usr/bin/docker \
  9. -v /var/run/docker.sock:/var/run/docker.sock \
  10. -v /var/run/calico:/var/run/calico \
  11. -v /etc/calico/certs:/etc/calico/certs:ro \
  12. {{ calicoctl_image_repo }}:{{ calicoctl_image_tag}} \
  13. $@