forked from mirrors/nixpkgs
kubectl: add kubectl-convert plugin (#178334)
This commit is contained in:
parent
473669d460
commit
43af76f449
|
@ -13,13 +13,17 @@ stdenv.mkDerivation rec {
|
|||
version
|
||||
;
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
outputs = [ "out" "man" "convert" ];
|
||||
|
||||
WHAT = "cmd/kubectl";
|
||||
WHAT = lib.concatStringsSep " " [
|
||||
"cmd/kubectl"
|
||||
"cmd/kubectl-convert"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -D _output/local/go/bin/kubectl -t $out/bin
|
||||
install -D _output/local/go/bin/kubectl-convert -t $convert/bin
|
||||
|
||||
installManPage docs/man/man1/kubectl*
|
||||
|
||||
|
|
|
@ -27797,6 +27797,7 @@ with pkgs;
|
|||
|
||||
kubernetes = callPackage ../applications/networking/cluster/kubernetes { };
|
||||
kubectl = callPackage ../applications/networking/cluster/kubernetes/kubectl.nix { };
|
||||
kubectl-convert = kubectl.convert;
|
||||
|
||||
kubemqctl = callPackage ../applications/networking/cluster/kubemqctl { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue