Switch go binaries from (hacky) static to pure Go
This commit is contained in:
@@ -10,13 +10,8 @@ load("//pkg/version:def.bzl", "version_x_defs")
|
||||
go_binary(
|
||||
name = "cloud-controller-manager",
|
||||
embed = [":go_default_library"],
|
||||
gc_linkopts = [
|
||||
"-linkmode",
|
||||
"external",
|
||||
"-extldflags",
|
||||
"-static",
|
||||
],
|
||||
importpath = "k8s.io/kubernetes/cmd/cloud-controller-manager",
|
||||
pure = "on",
|
||||
x_defs = version_x_defs(),
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user