Browse Source
Merge pull request #335 from mattymo/calicoctl
Merge pull request #335 from mattymo/calicoctl
Change calicoctl deployment to use containerpull/344/head
Smaine Kahlouch
8 years ago
committed by
GitHub
6 changed files with 21 additions and 39 deletions
Unified View
Diff Options
-
12roles/download/defaults/main.yml
-
2roles/network_plugin/calico/defaults/main.yml
-
2roles/network_plugin/calico/meta/main.yml
-
25roles/network_plugin/calico/tasks/main.yml
-
8roles/network_plugin/calico/templates/calicoctl-container.j2
-
11roles/uploads/defaults/main.yml
@ -1,7 +1,5 @@ |
|||||
--- |
--- |
||||
dependencies: |
dependencies: |
||||
- role: download |
|
||||
file: "{{ downloads.calico }}" |
|
||||
- role: download |
- role: download |
||||
file: "{{ downloads.calico_cni_plugin }}" |
file: "{{ downloads.calico_cni_plugin }}" |
||||
- role: download |
- role: download |
||||
|
@ -0,0 +1,8 @@ |
|||||
|
#!/bin/bash |
||||
|
/usr/bin/docker run --privileged --rm \ |
||||
|
--net=host -e ETCD_AUTHORITY=127.0.0.1:2379 \ |
||||
|
-v /usr/bin/docker:/usr/bin/docker \ |
||||
|
-v /var/run/docker.sock:/var/run/docker.sock \ |
||||
|
-v /var/run/calico:/var/run/calico \ |
||||
|
{{ calicoctl_image_repo }}:{{ calicoctl_image_tag}} \ |
||||
|
$@ |
Write
Preview
Loading…
Cancel
Save