1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

kubectl-doctor: init at 0.3.0

This commit is contained in:
zimbatm 2021-03-16 09:56:12 +01:00
parent f1e8b1e500
commit af2abd1deb
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubectl-doctor";
version = "0.3.0";
src = fetchFromGitHub {
owner = "emirozer";
repo = pname;
rev = version;
sha256 = "0x784jbcwd34vzdnhg2yldh5ivkxvs2qlbsvaammbxkn04ch1ijz";
};
vendorSha256 = "04xq5kp1m7c98gb4fd0dni258vpfnhv535gl2qllfcp2mvk3mn55";
postInstall = ''
mv $out/bin/{cmd,kubectl-doctor}
'';
meta = with lib; {
description = "kubectl cluster triage plugin for k8s";
homepage = "https://github.com/emirozer/kubectl-doctor";
changelog = "https://github.com/emirozer/kubectl-doctor/releases/tag/v${version}";
license = licenses.asl20;
maintainers = [ maintainers.zimbatm ];
};
}

View file

@ -23508,6 +23508,8 @@ in
kubectl = callPackage ../applications/networking/cluster/kubectl { };
kubectl-doctor = callPackage ../applications/networking/cluster/kubectl-doctor { };
kubectl-example = callPackage ../applications/networking/cluster/kubectl-example { };
kubeless = callPackage ../applications/networking/cluster/kubeless { };