tools: add cfssl

This commit is contained in:
q3k 2019-04-09 13:17:06 +02:00
parent 73cef11c85
commit acd001bf83
3 changed files with 13 additions and 1 deletions

View file

@ -87,3 +87,9 @@ go_repository(
commit = "2cbc9195c892b304060269ef280375236d2fcac9",
importpath = "github.com/shirou/gopsutil",
)
go_repository(
name = "com_github_cloudflare_cfssl",
commit = "768cd563887febaad559b511aaa5964823ccb4ab",
importpath = "github.com/cloudflare/cfssl",
)

View file

@ -49,3 +49,9 @@ sh_binary(
srcs = ["calicoctl.sh"],
data = [":calicoctl.bin", ":secretstore"],
)
copy_go_binary(
name = "cfssl",
src = "@com_github_cloudflare_cfssl//cmd/cfssl:cfssl",
visibility = ["//visibility:public"],
)

View file

@ -9,4 +9,4 @@ cd "${hscloud_root}"
bazel build \
//tools:kubectl //tools:kubecfg //tools:secretstore \
//tools:pass //tools:calicoctl.bin
//tools:pass //tools:calicoctl.bin //tools:cfssl