kubectl: add kubectl-convert plugin (#178334)

This commit is contained in:
Djabx 2022-06-21 11:18:12 +02:00 committed by GitHub
parent 473669d460
commit 43af76f449
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View file

@ -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*

View file

@ -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 { };