diff options
author | Artturi <Artturin@artturin.com> | 2021-11-10 19:14:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-10 19:14:23 +0200 |
commit | 6522ab683528479e3bca437c8a48ddbe76e87e38 (patch) | |
tree | 400db301f3828d97be566b1ec0c5e20940a65a36 /pkgs/applications/networking/cluster | |
parent | 5f012c0855a3e465a9c960d1fb7ef3f5debb0288 (diff) | |
parent | 7a1f2fd9e605484308b89236d6d644af0483a857 (diff) |
Merge pull request #144559 from j4m3s-s/add-kubectl-evict-pod
Diffstat (limited to 'pkgs/applications/networking/cluster')
-rw-r--r-- | pkgs/applications/networking/cluster/kubectl-evict-pod/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/kubectl-evict-pod/default.nix b/pkgs/applications/networking/cluster/kubectl-evict-pod/default.nix new file mode 100644 index 0000000000000..bd160db33cb8a --- /dev/null +++ b/pkgs/applications/networking/cluster/kubectl-evict-pod/default.nix @@ -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 ]; + }; +} |