Merge pull request #222164 from kranurag7/kubectl-gadget
kubectl-gadget: init at 0.14.0
This commit is contained in:
commit
5a7b742363
|
@ -8213,6 +8213,12 @@
|
|||
githubId = 735008;
|
||||
name = "Louis Taylor";
|
||||
};
|
||||
kranurag7 = {
|
||||
email = "contact.anurag7@gmail.com";
|
||||
github = "kranurag7";
|
||||
githubId = 81210977;
|
||||
name = "Anurag";
|
||||
};
|
||||
kranzes = {
|
||||
email = "personal@ilanjoselevich.com";
|
||||
github = "Kranzes";
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kubectl-gadget";
|
||||
version = "0.14.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "inspektor-gadget";
|
||||
repo = "inspektor-gadget";
|
||||
rev = "v${version}";
|
||||
hash = "sha256:16i9biyvzkpgxyfb41afaarnlm59vy02nspln5zq69prg6mp8rwa";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Kj8gP5393++nPeX38TX6duB9OO/ql7hpRA5gTTtTl+M=";
|
||||
|
||||
CGO_ENABLED = 0;
|
||||
|
||||
ldflags = [
|
||||
"-X main.version=v${version}"
|
||||
];
|
||||
|
||||
subPackages = [ "cmd/kubectl-gadget" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A collection of gadgets for troubleshooting Kubernetes applications using eBPF";
|
||||
homepage = "https://inspektor-gadget.io";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ kranurag7 ];
|
||||
};
|
||||
}
|
|
@ -31221,6 +31221,8 @@ with pkgs;
|
|||
|
||||
kubectl-example = callPackage ../applications/networking/cluster/kubectl-example { };
|
||||
|
||||
kubectl-gadget = callPackage ../applications/networking/cluster/kubectl-gadget { };
|
||||
|
||||
kubectl-images = callPackage ../applications/networking/cluster/kubectl-images { };
|
||||
|
||||
kubectl-node-shell = callPackage ../applications/networking/cluster/kubectl-node-shell { };
|
||||
|
|
Loading…
Reference in a new issue