Skip to content
Snippets Groups Projects
Unverified Commit 3e52f1a4 authored by Chad Swenson's avatar Chad Swenson Committed by GitHub
Browse files

Merge pull request #4091 from doughgle/master

Introduce `calico_upgrade_url` var for Calico upgrade tool.
parents 57089146 4479cc48
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,7 @@ calico_felix_prometheusprocessmetricsenabled: "true" ...@@ -43,6 +43,7 @@ calico_felix_prometheusprocessmetricsenabled: "true"
### check latest version https://github.com/projectcalico/calico-upgrade/releases ### check latest version https://github.com/projectcalico/calico-upgrade/releases
calico_upgrade_enabled: true calico_upgrade_enabled: true
calico_upgrade_version: v1.0.5 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 # Set the agent log level. Can be debug, warning, info or fatal
calico_loglevel: info calico_loglevel: info
......
--- ---
- name: "Download calico-upgrade tool (force version)" - name: "Download calico-upgrade tool (force version)"
get_url: 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" dest: "{{ bin_dir }}/calico-upgrade"
mode: 0755 mode: 0755
owner: root owner: root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment