mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
kubelogin: init at 0.0.6
This commit is contained in:
parent
4e5b9f8b2e
commit
b3a9dad7c4
28
pkgs/applications/networking/cluster/kubelogin/default.nix
Normal file
28
pkgs/applications/networking/cluster/kubelogin/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchFromGitHub, buildGoModule, go }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kubelogin";
|
||||
version = "0.0.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Azure";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "18rkjdl8asr5c1kgdm2iqb5qwkfcrv2sk3nns3hhfqzs2v9mxmha";
|
||||
};
|
||||
|
||||
vendorSha256 = "0al8y65xvnwl34jkpqyf6zwr21xn30zswknlym9nnn1n47fyayxb";
|
||||
|
||||
buildFlagsArray = ''
|
||||
-ldflags=
|
||||
-X main.version=${version}
|
||||
-X main.goVersion=${stdenv.lib.getVersion go}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Kubernetes credential plugin implementing Azure authentication";
|
||||
inherit (src.meta) homepage;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ yurrriq ];
|
||||
};
|
||||
}
|
@ -20590,6 +20590,8 @@ in
|
||||
|
||||
kubeless = callPackage ../applications/networking/cluster/kubeless { };
|
||||
|
||||
kubelogin = callPackage ../applications/networking/cluster/kubelogin { };
|
||||
|
||||
k9s = callPackage ../applications/networking/cluster/k9s { };
|
||||
|
||||
fluxctl = callPackage ../applications/networking/cluster/fluxctl { };
|
||||
|
Loading…
Reference in New Issue
Block a user