...

Text file src/edge-infra.dev/pkg/k8s/eyaml/filesys/BUILD.bazel

Documentation: edge-infra.dev/pkg/k8s/eyaml/filesys

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "filesys",
     5    srcs = ["filesystem.go"],
     6    importpath = "edge-infra.dev/pkg/k8s/eyaml/filesys",
     7    visibility = ["//visibility:public"],
     8    deps = ["@io_k8s_sigs_kustomize_kyaml//filesys"],
     9)
    10
    11go_test(
    12    name = "filesys_test",
    13    srcs = ["filesytem_test.go"],
    14    data = glob(["testdata/**"]),
    15    embed = [":filesys"],
    16    embedsrcs = [
    17        "testdata/fluxcd/base/kustomization.yaml",
    18        "testdata/fluxcd/base/namespace.yaml",
    19        "testdata/fluxcd/base/patches/autoscaler-safe-to-evict-annotation.yaml",
    20        "testdata/fluxcd/kustomize-controller/kustomization.yaml",
    21        "testdata/fluxcd/kustomize-helm-controllers/kustomization.yaml",
    22        "testdata/fluxcd/manifests/helm-controller.yaml",
    23        "testdata/fluxcd/manifests/image-automation-controller.yaml",
    24        "testdata/fluxcd/manifests/image-reflector-controller.yaml",
    25        "testdata/fluxcd/manifests/kustomize-controller.yaml",
    26        "testdata/fluxcd/manifests/notification-controller.yaml",
    27        "testdata/fluxcd/manifests/policies.yaml",
    28        "testdata/fluxcd/manifests/rbac.yaml",
    29        "testdata/fluxcd/manifests/source-controller.yaml",
    30    ],
    31    deps = [
    32        "@io_k8s_sigs_kustomize_api//krusty",
    33        "@io_k8s_sigs_kustomize_api//types",
    34    ],
    35)

View as plain text