diff options
author | Djabx <alexandre@badez.eu> | 2022-06-21 11:18:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-21 19:18:12 +1000 |
commit | 43af76f449c9d0966fed9c3a36b66d29fbaff677 (patch) | |
tree | f0382324036554a826b4e71374b8456519347a70 /pkgs/applications/networking/cluster | |
parent | 473669d4603b281946ea0c8d6007e0a6c1900a49 (diff) |
kubectl: add kubectl-convert plugin (#178334)
Diffstat (limited to 'pkgs/applications/networking/cluster')
-rw-r--r-- | pkgs/applications/networking/cluster/kubernetes/kubectl.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/networking/cluster/kubernetes/kubectl.nix b/pkgs/applications/networking/cluster/kubernetes/kubectl.nix index ae8db695b9fe0..6a6f9042124b8 100644 --- a/pkgs/applications/networking/cluster/kubernetes/kubectl.nix +++ b/pkgs/applications/networking/cluster/kubernetes/kubectl.nix @@ -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* |