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