Merge pull request #34126 from nicknovitski/kubectl

init: kubectl at 1.7.9 (alias for kubernetes with only kubectl component)
This commit is contained in:
Tim Steinbach 2018-02-08 21:49:57 +00:00 committed by GitHub
commit 250df5c8fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -15925,6 +15925,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 { };