forked from hswaw/hscloud
In addition to k8s certificates, prodaccess now issues HSPKI certificates, with DN=$username.sso.hswaw.net. These are installed into XDG_CONFIG_HOME (or os equiv). //go/pki will now automatically attempt to load these certificates. This means you can now run any pki-dependant tool with -hspki_disable, and with automatic mTLS! Change-Id: I5b28e193e7c968d621bab0d42aabd6f0510fed6d
27 lines
837 B
Text
27 lines
837 B
Text
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"hspki.go",
|
|
"kubernetes.go",
|
|
"prodaccess.go",
|
|
],
|
|
importpath = "code.hackerspace.pl/hscloud/cluster/prodaccess",
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
"//cluster/certs:go_default_library",
|
|
"//cluster/prodvider/proto:go_default_library",
|
|
"//go/pki:go_default_library",
|
|
"@com_github_golang_glog//:go_default_library",
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
"@org_golang_google_grpc//credentials:go_default_library",
|
|
"@org_golang_x_crypto//ssh/terminal:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "prodaccess",
|
|
embed = [":go_default_library"],
|
|
visibility = ["//visibility:public"],
|
|
)
|