fix: acessing clusters with private dns (#1903)
Co-authored-by: Gustavo Okuyama <gustavo.okuyama@ifood.com.br>mine
parent
3320d37be7
commit
82e841f6c3
3
Makefile
3
Makefile
|
|
@ -1,5 +1,6 @@
|
|||
NAME := k9s
|
||||
GO_FLAGS ?=
|
||||
GO_TAGS ?= netcgo
|
||||
CGO_ENABLED?=0
|
||||
OUTPUT_BIN ?= execs/${NAME}
|
||||
PACKAGE := github.com/derailed/$(NAME)
|
||||
|
|
@ -26,7 +27,7 @@ cover: ## Run test coverage suite
|
|||
build: ## Builds the CLI
|
||||
@CGO_ENABLED=${CGO_ENABLED} go build ${GO_FLAGS} \
|
||||
-ldflags "-w -s -X ${PACKAGE}/cmd.version=${VERSION} -X ${PACKAGE}/cmd.commit=${GIT_REV} -X ${PACKAGE}/cmd.date=${DATE}" \
|
||||
-a -tags netgo -o ${OUTPUT_BIN} main.go
|
||||
-a -tags=${GO_TAGS} -o ${OUTPUT_BIN} main.go
|
||||
|
||||
kubectl-stable-version: ## Get kubectl latest stable version
|
||||
@curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt
|
||||
|
|
|
|||
Loading…
Reference in New Issue