Skip to content

Commit

Permalink
chore: Added additional build info for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
TrekkieCoder committed Sep 22, 2024
1 parent 0a83ce3 commit 89c8d1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions manifest/ext-cluster/kube-loxilb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ rules:
resources:
- endpoints
- services
- namespaces
- services/status
verbs:
- get
Expand Down

0 comments on commit 89c8d1b

Please sign in to comment.