forked from projectcalico/calico
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent_url
42 lines (30 loc) · 1.62 KB
/
component_url
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{%- if release.title != "master" -%}
{%- case include.component -%}
{%- when 'calico/node' -%}
https://github.com/projectcalico/node/releases/tag/{{ release.components[include.component].version }}
{%- when 'calicoctl' -%}
https://github.com/projectcalico/calicoctl/releases/tag/{{ release.components[include.component].version }}
{%- when 'calico/cni' -%}
https://github.com/projectcalico/cni-plugin/releases/tag/{{ release.components[include.component].version }}
{%- when 'calico/kube-controllers' -%}
https://github.com/projectcalico/k8s-policy/releases/tag/{{ release.components[include.component].version }}
{%- when 'networking-calico' -%}
https://github.com/projectcalico/networking-calico/releases/tag/{{ release.components[include.component].version }}
{%- when 'typha' -%}
https://github.com/projectcalico/typha/releases/tag/{{ release.components[include.component].version }}
{%- when 'flannel' -%}
https://github.com/coreos/flannel/releases/tag/{{ release.components[include.component].version }}
{%- when 'calico/dikastes' -%}
https://github.com/projectcalico/app-policy/releases/tag/{{ release.components[include.component].version }}
{%- when 'flexvol' -%}
https://github.com/projectcalico/pod2daemon/releases/tag/{{ release.components[include.component].version }}
{%- endcase -%}
{%- else -%}
{% comment %}
For the master docs, there are no releases to link to. So this page will just return an empty string.
Except for 'calicoctl', as we do host direct downloads to a binary of calicoctl.
{% endcomment %}
{%- if include.component == "calicoctl" -%}
https://www.projectcalico.org/builds/calicoctl
{%- endif -%}
{%- endif -%}