forked from hswaw/hscloud
tools: add cfssl
This commit is contained in:
parent
73cef11c85
commit
acd001bf83
3 changed files with 13 additions and 1 deletions
|
@ -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",
|
||||
)
|
||||
|
|
|
@ -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"],
|
||||
)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue