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
|
NAME := k9s
|
||||||
GO_FLAGS ?=
|
GO_FLAGS ?=
|
||||||
|
GO_TAGS ?= netcgo
|
||||||
CGO_ENABLED?=0
|
CGO_ENABLED?=0
|
||||||
OUTPUT_BIN ?= execs/${NAME}
|
OUTPUT_BIN ?= execs/${NAME}
|
||||||
PACKAGE := github.com/derailed/$(NAME)
|
PACKAGE := github.com/derailed/$(NAME)
|
||||||
|
|
@ -26,7 +27,7 @@ cover: ## Run test coverage suite
|
||||||
build: ## Builds the CLI
|
build: ## Builds the CLI
|
||||||
@CGO_ENABLED=${CGO_ENABLED} go build ${GO_FLAGS} \
|
@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}" \
|
-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
|
kubectl-stable-version: ## Get kubectl latest stable version
|
||||||
@curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt
|
@curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue