Browse Source

Merge pull request #650 from adidenko/remove-calico-ctl-tag-override

Update default calico/ctl image tag
pull/316/merge
Bogdan Dobrelya 8 years ago
committed by GitHub
parent
commit
f783a638a3
2 changed files with 5 additions and 5 deletions
  1. 2
      roles/download/defaults/main.yml
  2. 8
      roles/network_plugin/calico/tasks/main.yml

2
roles/download/defaults/main.yml

@ -44,7 +44,7 @@ flannel_image_tag: "{{ flannel_version }}"
calicoctl_image_repo: "calico/ctl"
# TODO(apanchenko): v1.0.0-beta can't execute `node run` from Docker container
# for details see https://github.com/projectcalico/calico-containers/issues/1291
calicoctl_image_tag: "v0.22.0"
calicoctl_image_tag: "v1.0.0-beta-18-gf72bc1d"
calico_node_image_repo: "calico/node"
calico_node_image_tag: "{{ calico_version }}"
calico_cni_image_repo: "calico/cni"

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

@ -101,8 +101,8 @@
environment:
NO_DEFAULT_POOLS: true
run_once: true
when: (not legacy_calicoctl and
"Key not found" in calico_conf.stdout or "nodes" not in calico_conf.stdout)
when: not legacy_calicoctl and
("Key not found" in calico_conf.stdout or "nodes" not in calico_conf.stdout)
- name: Calico (old) | Define ipip pool argument
run_once: true
@ -129,8 +129,8 @@
environment:
NO_DEFAULT_POOLS: true
run_once: true
when: (legacy_calicoctl and
"Key not found" in calico_conf.stdout or "nodes" not in calico_conf.stdout)
when: legacy_calicoctl and
("Key not found" in calico_conf.stdout or "nodes" not in calico_conf.stdout)
- name: Calico | Get calico configuration from etcd
command: |-

Loading…
Cancel
Save