Merge pull request #194958 from ivankovnatsky/patch-32
This commit is contained in:
commit
083b0d5457
2 changed files with 29 additions and 0 deletions
|
@ -0,0 +1,27 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kubectl-images";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chenjiandongx";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-aDWtLTnMQklTU6X6LF0oBuh1317I5/kiEZVePgJjIdU";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-FxaOOFwDf3LNREOlA7frqhDXzc91LC3uJev3kzLDEy8";
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/cmd $out/bin/kubectl-images
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Show container images used in the cluster.";
|
||||
homepage = "https://github.com/chenjiandongx/kubectl-images";
|
||||
changelog = "https://github.com/chenjiandongx/kubectl-images/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.ivankovnatsky ];
|
||||
};
|
||||
}
|
|
@ -29366,6 +29366,8 @@ with pkgs;
|
|||
|
||||
kubectl-example = callPackage ../applications/networking/cluster/kubectl-example { };
|
||||
|
||||
kubectl-images = callPackage ../applications/networking/cluster/kubectl-images { };
|
||||
|
||||
kubectl-node-shell = callPackage ../applications/networking/cluster/kubectl-node-shell { };
|
||||
|
||||
kubectl-tree = callPackage ../applications/networking/cluster/kubectl-tree { };
|
||||
|
|
Loading…
Reference in a new issue