Merge pull request #144559 from j4m3s-s/add-kubectl-evict-pod

This commit is contained in:
Artturi 2021-11-10 19:14:23 +02:00 committed by GitHub
commit 6522ab6835
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubectl-evict-pod";
version = "0.0.10";
src = fetchFromGitHub {
owner = "rajatjindal";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Z4fJzU317p7K+klcDQAukXAfZOpHd3PlH5fKO0PgKHA=";
};
vendorSha256 = "sha256-8VTrywlzrzoBEi/xOqkwhGW/R2B2oGqgh01Gv9FcW80=";
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 ];
};
}

View file

@ -26122,6 +26122,8 @@ with pkgs;
kube-score = callPackage ../applications/networking/cluster/kube-score { };
kubectl-evict-pod = callPackage ../applications/networking/cluster/kubectl-evict-pod { };
kubeval = callPackage ../applications/networking/cluster/kubeval { };
kubeval-schema = callPackage ../applications/networking/cluster/kubeval/schema.nix { };