...
1load("@io_bazel_rules_go//go:def.bzl", "go_library")
2load("//hack/build/rules/kustomize:kustomization.bzl", "kustomization")
3
4package(default_visibility = ["//visibility:public"])
5
6go_library(
7 name = "embedded_prometheus",
8 srcs = ["embed_prometheus.go"],
9 embedsrcs = ["kustomization.yaml"],
10 importpath = "edge-infra.dev/third_party/k8s/prometheus-operator/prometheus",
11)
12
13kustomization(
14 name = "prometheus",
15 kustomization_yaml = "kustomization.yaml",
16 visibility = ["//visibility:public"],
17 deps = ["//third_party/k8s/prometheus-operator/prometheus/base"],
18)
View as plain text