From 89c8d1bee91729d6f486a062fd1b20f588fe5ca2 Mon Sep 17 00:00:00 2001 From: Trekkie Coder Date: Sun, 22 Sep 2024 12:17:40 +0900 Subject: [PATCH] chore: Added additional build info for debugging --- Makefile | 2 +- manifest/ext-cluster/kube-loxilb.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e266de8..7931a75 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ TAG?=latest build: @mkdir -p ./bin go mod tidy - go build -o ./bin/${bin} -ldflags="-X 'main.BuildInfo=${shell date '+%Y_%m_%d'}-${shell git branch --show-current}-$(shell git show --pretty=format:%h --no-patch)' -X 'main.Version=${shell git describe --tags --abbrev=0}'" ./cmd/loxilb-agent + go build -o ./bin/${bin} -ldflags="-X 'main.BuildInfo=${shell date '+%Y_%m_%d_%Hh:%Mm'}-${shell git branch --show-current}-$(shell git show --pretty=format:%h --no-patch)' -X 'main.Version=${shell git describe --tags --abbrev=0}'" ./cmd/loxilb-agent clean: go clean ./cmd diff --git a/manifest/ext-cluster/kube-loxilb.yaml b/manifest/ext-cluster/kube-loxilb.yaml index ebc8ef6..1c9396f 100644 --- a/manifest/ext-cluster/kube-loxilb.yaml +++ b/manifest/ext-cluster/kube-loxilb.yaml @@ -33,6 +33,7 @@ rules: resources: - endpoints - services + - namespaces - services/status verbs: - get