kubeone: init at 1.2.1 (#124238)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
9477b5d3ea
commit
5d3f6739e5
36
pkgs/applications/networking/cluster/kubeone/default.nix
Normal file
36
pkgs/applications/networking/cluster/kubeone/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
, installShellFiles
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "kubeone";
|
||||||
|
version = "1.2.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "kubermatic";
|
||||||
|
repo = "kubeone";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1abm7735c4pjv31pfggkvia7br19zbhjpp2w0n5zckwrjm9hxns6";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "01rl4sd9prfw4ivx7dwrr9irjr0xryihp4fzpcjd2zg8f1ibkwsn";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
installShellFiles
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installShellCompletion --cmd kubeone \
|
||||||
|
--bash <($out/bin/kubeone completion bash) \
|
||||||
|
--zsh <($out/bin/kubeone completion zsh)
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Automate cluster operations on all your cloud, on-prem, edge, and IoT environments.";
|
||||||
|
homepage = "https://kubeone.io/";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = with lib.maintainers; [ lblasc ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -13443,6 +13443,8 @@ in
|
||||||
|
|
||||||
kubei = callPackage ../tools/security/kubei { };
|
kubei = callPackage ../tools/security/kubei { };
|
||||||
|
|
||||||
|
kubeone = callPackage ../applications/networking/cluster/kubeone { };
|
||||||
|
|
||||||
kubeprompt = callPackage ../development/tools/kubeprompt { };
|
kubeprompt = callPackage ../development/tools/kubeprompt { };
|
||||||
|
|
||||||
kubesec = callPackage ../tools/security/kubesec { };
|
kubesec = callPackage ../tools/security/kubesec { };
|
||||||
|
|
Loading…
Reference in a new issue