Unverified Commit 93661268 authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #233233 from fabaff/kubestroyer

kubestroyer: init at 0.2
parents 9f6f3971 75a74cb8
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "kubestroyer";
  version = "0.2";

  src = fetchFromGitHub {
    owner = "Rolix44";
    repo = "Kubestroyer";
    rev = "refs/tags/v${version}";
    hash = "sha256-M/abb2IT0mXwj8lAitr18VtIgC4NvapPywBwcUWr9i8=";
  };

  vendorHash = "sha256-x0lIi4QUuYn0kv0HV4h8k61kRu10LCyELudisqUdTAg=";

  ldflags = [
    "-s"
    "-w"
  ];

  meta = with lib; {
    description = "Kubernetes exploitation tool";
    homepage = "https://github.com/Rolix44/Kubestroyer";
    changelog = "https://github.com/Rolix44/Kubestroyer/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -31834,6 +31834,8 @@ with pkgs;
  kubeseal = callPackage ../applications/networking/cluster/kubeseal { };
  kubestroyer = callPackage ../tools/security/kubestroyer { };
  kubernix = callPackage ../applications/networking/cluster/kubernix { };
  kubeconform = callPackage ../applications/networking/cluster/kubeconform { };