...
1"""fetches kubevirt cdi manifests"""
2
3load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
4load(":version.bzl", "VERSION")
5
6def fetch_kubevirt_cdi_manifests():
7 """Returns all http_* targets for kubevirt cdi manifest bundles we rely on"""
8
9 http_file(
10 name = "kubevirt_cdi_crds",
11 sha256 = "691dd4697ad1c08b498cac5b0ee2cf5505fa1b4d151980a1110866d40d57f39f",
12 urls = ["https://github.com/kubevirt/containerized-data-importer/releases/download/{version}/cdi-cr.yaml".format(
13 version = VERSION,
14 )],
15 )
16
17 http_file(
18 name = "kubevirt_cdi_operator",
19 sha256 = "5d91f94b642f21941ee169dbbe9e20bde5a73dc5734c272483f72f6c593fce00",
20 urls = ["https://github.com/kubevirt/containerized-data-importer/releases/download/{version}/cdi-operator.yaml".format(
21 version = VERSION,
22 )],
23 )
View as plain text