File tree Expand file tree Collapse file tree
applications/networking/cluster/kubectl-gadget Expand file tree Collapse file tree Original file line number Diff line number Diff line change 81898189 kranurag7 = {
81908190 email = "contact.anurag7@gmail.com" ;
81918191 github = "kranurag7" ;
8192- githubId = " 81210977" ;
8192+ githubId = 81210977 ;
81938193 name = "Anurag" ;
81948194 } ;
81958195 kranzes = {
Original file line number Diff line number Diff line change 1+ { lib , buildGoModule , fetchFromGitHub } :
2+
3+ buildGoModule rec {
4+ pname = "kubectl-gadget" ;
5+ version = "0.14.0" ;
6+
7+ src = fetchFromGitHub {
8+ owner = "inspektor-gadget" ;
9+ repo = "inspektor-gadget" ;
10+ rev = "v${ version } " ;
11+ hash = "sha256:16i9biyvzkpgxyfb41afaarnlm59vy02nspln5zq69prg6mp8rwa" ;
12+ } ;
13+
14+ vendorHash = "sha256-Kj8gP5393++nPeX38TX6duB9OO/ql7hpRA5gTTtTl+M=" ;
15+
16+ CGO_ENABLED = 0 ;
17+
18+ ldflags = [
19+ "-X main.version=v${ version } "
20+ ] ;
21+
22+ subPackages = [ "cmd/kubectl-gadget" ] ;
23+
24+ meta = with lib ; {
25+ description = "A collection of gadgets for troubleshooting Kubernetes applications using eBPF" ;
26+ homepage = "https://inspektor-gadget.io" ;
27+ license = licenses . asl20 ;
28+ maintainers = with maintainers ; [ kranurag7 ] ;
29+ } ;
30+ }
Original file line number Diff line number Diff line change @@ -31218,6 +31218,8 @@ with pkgs;
3121831218
3121931219 kubectl-example = callPackage ../applications/networking/cluster/kubectl-example { };
3122031220
31221+ kubectl-gadget = callPackage ../applications/networking/cluster/kubectl-gadget { };
31222+
3122131223 kubectl-images = callPackage ../applications/networking/cluster/kubectl-images { };
3122231224
3122331225 kubectl-node-shell = callPackage ../applications/networking/cluster/kubectl-node-shell { };
You can’t perform that action at this time.
0 commit comments