blob: 9ec0d6c6e12d0eb49d6ac2173a155e027b94c7a6 [file] [log] [blame]
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
load("//bzl:rules.bzl", "copy_go_binary")
copy_go_binary(
name = "kubectl",
src = "@io_k8s_kubernetes//cmd/kubectl:kubectl",
visibility = ["//visibility:public"],
)
copy_go_binary(
name = "kubecfg",
src = "//cluster/tools/kartongips",
visibility = ["//visibility:public"],
)
sh_binary(
name = "calicoctl",
srcs = ["calicoctl.sh"],
data = [
# it's not worth the effort to bazelify all intermediary versions of calicoctl
# just to use them once, so until we finish upgrading use upstream binaries
"@calicoctl_3_15//file",
"//tools:secretstore",
"//tools/hscloud",
],
deps = [
"//tools/hscloud:shell",
],
)
copy_go_binary(
name = "cfssl",
src = "@com_github_cloudflare_cfssl//cmd/cfssl:cfssl",
visibility = ["//visibility:public"],
)
sh_binary(
name = "rook-s3cmd-config",
srcs = ["rook-s3cmd-config.sh"],
data = [
"@bazel_tools//tools/bash/runfiles",
"@com_github_stedolan_jq//:jq",
":kubectl",
],
)