...

Text file src/edge-infra.dev/third_party/k8s/emissary/manifests.bzl

Documentation: edge-infra.dev/third_party/k8s/emissary

     1"""fetches emissary"""
     2
     3load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
     4load(":version.bzl", "VERSION")
     5
     6def fetch_emissary_manifests():
     7    """Returns all http_* targets for emissary manifest bundles we rely on"""
     8    formatted_version = VERSION.lstrip("v")
     9    http_file(
    10        name = "emissary_crds",
    11        sha256 = "4ee02280402b80a3de31c7c5ea968f3389752719daf276c73aa211916f2afea4",
    12        urls = ["https://app.getambassador.io/yaml/emissary/{version}/emissary-crds.yaml".format(
    13            version = formatted_version,
    14        )],
    15    )
    16
    17    http_file(
    18        name = "emissary_ns",
    19        sha256 = "a3e3ab6cf7c0ed1e13cc135ee1b7d259927973fb2fd012730820e2ca92ec1082",
    20        urls = ["https://app.getambassador.io/yaml/emissary/{version}/emissary-emissaryns.yaml".format(
    21            version = formatted_version,
    22        )],
    23    )

View as plain text