init: kubectl at 1.7.9 (alias for kubernetes with only kubectl component)

This commit is contained in:
Nick Novitski 2018-01-21 17:40:21 -08:00
parent d585a3207b
commit 0fdf29224e
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, kubernetes }:
{ stdenv, fetchurl, kubectl }:
let
arch = if stdenv.isLinux
then "linux-amd64"
@ -21,7 +21,7 @@ stdenv.mkDerivation {
buildInputs = [ ];
propagatedBuildInputs = [ kubernetes ];
propagatedBuildInputs = [ kubectl ];
phases = [ "buildPhase" "installPhase" ];

View File

@ -15834,6 +15834,10 @@ with pkgs;
kubernetes = callPackage ../applications/networking/cluster/kubernetes { };
kubectl = (kubernetes.override { components = [ "cmd/kubectl" ]; }).overrideAttrs(oldAttrs: {
name = "kubectl-${oldAttrs.version}";
});
kubernetes-helm = callPackage ../applications/networking/cluster/helm { };
kupfer = callPackage ../applications/misc/kupfer { };