Merge pull request #297599 from devusb/kubectl-gadget
kubectl-gadget: match ldflags to upstream
This commit is contained in:
commit
94ee7d64cc
1 changed files with 3 additions and 2 deletions
|
@ -17,7 +17,8 @@ buildGoModule rec {
|
|||
|
||||
ldflags = [
|
||||
"-s" "-w"
|
||||
"-X main.version=v${version}"
|
||||
"-X github.com/inspektor-gadget/inspektor-gadget/cmd/common.version=v${version}"
|
||||
"-X main.gadgetimage=ghcr.io/inspektor-gadget/inspektor-gadget:v${version}"
|
||||
"-extldflags=-static"
|
||||
];
|
||||
|
||||
|
@ -32,6 +33,6 @@ buildGoModule rec {
|
|||
mainProgram = "kubectl-gadget";
|
||||
homepage = "https://inspektor-gadget.io";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ kranurag7 ];
|
||||
maintainers = with maintainers; [ kranurag7 devusb ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue