Switch go binaries from (hacky) static to pure Go

This commit is contained in:
Jeff Grafton
2017-11-14 17:07:05 -08:00
parent 924fd3b058
commit 46e894bfd3
8 changed files with 8 additions and 53 deletions

View File

@@ -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(),
)