3
0
Fork 0
forked from mirrors/nixpkgs

kubeone: init at 1.2.1 (#124238)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Luka Blašković 2021-05-27 05:28:31 +02:00 committed by GitHub
parent 9477b5d3ea
commit 5d3f6739e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View 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 ];
};
}

View file

@ -13443,6 +13443,8 @@ in
kubei = callPackage ../tools/security/kubei { };
kubeone = callPackage ../applications/networking/cluster/kubeone { };
kubeprompt = callPackage ../development/tools/kubeprompt { };
kubesec = callPackage ../tools/security/kubesec { };