Merge pull request #4091 from doughgle/master

Introduce `calico_upgrade_url` var for Calico upgrade tool.
pull/4115/head
Chad Swenson 2019-01-23 17:39:59 -06:00 committed by GitHub
commit 3e52f1a4e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -43,6 +43,7 @@ calico_felix_prometheusprocessmetricsenabled: "true"
### check latest version https://github.com/projectcalico/calico-upgrade/releases
calico_upgrade_enabled: true
calico_upgrade_version: v1.0.5
calico_upgrade_url: "https://github.com/projectcalico/calico-upgrade/releases/download/{{ calico_upgrade_version }}/calico-upgrade"
# Set the agent log level. Can be debug, warning, info or fatal
calico_loglevel: info

View File

@ -1,7 +1,7 @@
---
- name: "Download calico-upgrade tool (force version)"
get_url:
url: "https://github.com/projectcalico/calico-upgrade/releases/download/{{ calico_upgrade_version }}/calico-upgrade"
url: "{{ calico_upgrade_url }}"
dest: "{{ bin_dir }}/calico-upgrade"
mode: 0755
owner: root