nixpkgs/pkgs/applications/networking/cluster/kubectl-evict-pod/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
591 B
Nix
Raw Normal View History

2021-11-03 23:08:06 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubectl-evict-pod";
2022-08-21 14:30:26 +00:00
version = "0.0.12";
2021-11-03 23:08:06 +00:00
src = fetchFromGitHub {
owner = "rajatjindal";
repo = pname;
rev = "v${version}";
2022-08-21 14:30:26 +00:00
sha256 = "sha256-alU1c1ppn4cQi582kcA/PIAJJt73i3uG02cQvSYij1A=";
2021-11-03 23:08:06 +00:00
};
2022-08-21 14:30:26 +00:00
vendorSha256 = null;
2021-11-03 23:08:06 +00:00
meta = with lib; {
description = "This plugin evicts the given pod and is useful for testing pod disruption budget rules";
homepage = "https://github.com/rajatjindal/kubectl-evict-pod";
license = licenses.asl20;
maintainers = [ maintainers.j4m3s ];
};
}