Merge pull request #165579 from peterromfeldhk/peter-kubent

kubent: init at 0.5.1
This commit is contained in:
Pascal Bach 2022-03-24 21:55:00 +01:00 committed by GitHub
commit 2cb130080d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubent";
version = "0.5.1";
src = fetchFromGitHub {
owner = "doitintl";
repo = "kube-no-trouble";
rev = "${version}";
sha256 = "0pwb9g1hhfqn3rl87fg6sf07m7aviadljb05bbnd241hhlcyslv6";
};
vendorSha256 = "1z4cvk936l7011fbimsgpw89yqzyikw9jb4184l37mnj9hl5wpcp";
ldflags = [
"-w" "-s"
"-X main.version=v${version}"
];
subPackages = [ "cmd/kubent" ];
meta = with lib; {
homepage = "https://github.com/doitintl/kube-no-trouble";
description = "Easily check your cluster for use of deprecated APIs";
license = licenses.mit;
maintainers = with maintainers; [ peterromfeldhk ];
};
}

View File

@ -27107,6 +27107,8 @@ with pkgs;
kubemqctl = callPackage ../applications/networking/cluster/kubemqctl { };
kubent = callPackage ../applications/networking/cluster/kubent { };
kubeseal = callPackage ../applications/networking/cluster/kubeseal { };
kubernix = callPackage ../applications/networking/cluster/kubernix { };