mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
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:
commit
250df5c8fd
@ -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" ];
|
||||
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user