1"""List of all calico images"""
2
3load("//hack/build/rules/container:third_party_images.bzl", "third_party_container_dep")
4load(
5 ":digests.bzl",
6 "APISERVER_DIGEST",
7 "CALICO_OP_DIGEST",
8 "CALICO_OP_REGISTRY",
9 "CALICO_OP_VERSION",
10 "CALICO_REGISTRY",
11 "CALICO_VERSION",
12 "CNI_DIGEST",
13 "CSI_DIGEST",
14 "CTL_DIGEST",
15 "DIKASTES_DIGEST",
16 "KUBE_CONTROLLERS_DIGEST",
17 "NODE_DIGEST",
18 "NODE_DRIVER_REGISTRAR_DIGEST",
19 "POD2DAEMON_FLEXVOL_DIGEST",
20 "TYPHA_DIGEST",
21)
22
23def calico_images():
24 """The calico_images function collects all of the third_party_container_dep rules
25
26 together for the ease of incorporating into `hack/deps/imagesl.bzl`
27 To add an additional dependency, create a new third_party_container_dep target
28 and add the required fields.
29 """
30
31 third_party_container_dep(
32 name = "calico_operator",
33 tag = CALICO_OP_VERSION,
34 digest = CALICO_OP_DIGEST,
35 repository = "tigera/operator",
36 registry = CALICO_OP_REGISTRY,
37 )
38 third_party_container_dep(
39 name = "calico_typha",
40 tag = CALICO_VERSION,
41 digest = TYPHA_DIGEST,
42 repository = "calico/typha",
43 registry = CALICO_REGISTRY,
44 )
45 third_party_container_dep(
46 name = "calico_ctl",
47 tag = CALICO_VERSION,
48 digest = CTL_DIGEST,
49 repository = "calico/ctl",
50 registry = CALICO_REGISTRY,
51 )
52 third_party_container_dep(
53 name = "calico_node",
54 tag = CALICO_VERSION,
55 digest = NODE_DIGEST,
56 repository = "calico/node",
57 registry = CALICO_REGISTRY,
58 )
59 third_party_container_dep(
60 name = "calico_cni",
61 tag = CALICO_VERSION,
62 digest = CNI_DIGEST,
63 repository = "calico/cni",
64 registry = CALICO_REGISTRY,
65 )
66 third_party_container_dep(
67 name = "calico_apiserver",
68 tag = CALICO_VERSION,
69 digest = APISERVER_DIGEST,
70 repository = "calico/apiserver",
71 registry = CALICO_REGISTRY,
72 )
73 third_party_container_dep(
74 name = "calico_kube_controllers",
75 tag = CALICO_VERSION,
76 digest = KUBE_CONTROLLERS_DIGEST,
77 repository = "calico/kube-controllers",
78 registry = CALICO_REGISTRY,
79 )
80 third_party_container_dep(
81 name = "calico_dikastes",
82 tag = CALICO_VERSION,
83 digest = DIKASTES_DIGEST,
84 repository = "calico/dikastes",
85 registry = CALICO_REGISTRY,
86 )
87 third_party_container_dep(
88 name = "calico_pod2daemon_flexvol",
89 tag = CALICO_VERSION,
90 digest = POD2DAEMON_FLEXVOL_DIGEST,
91 repository = "calico/pod2daemon-flexvol",
92 registry = CALICO_REGISTRY,
93 )
94 third_party_container_dep(
95 name = "calico_csi",
96 tag = CALICO_VERSION,
97 digest = CSI_DIGEST,
98 repository = "calico/csi",
99 registry = CALICO_REGISTRY,
100 )
101 third_party_container_dep(
102 name = "calico_node_driver_registrar",
103 tag = CALICO_VERSION,
104 digest = NODE_DRIVER_REGISTRAR_DIGEST,
105 repository = "calico/node-driver-registrar",
106 registry = CALICO_REGISTRY,
107 )
View as plain text