mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-11 07:23:40 +00:00
a8b67b4f5d
This is a helper utility which allows to configure EKS clusters etc. Tested it locally on a NixOS machine: ``` shellsession ❯ kubergrunt help Usage: kubergrunt [--loglevel] [--help] command [options] [args] A CLI tool to help setup and manage a Kubernetes cluster. Commands: eks Helper commands to configure EKS. k8s Helper scripts for managing Kubernetes resources directly. tls Helper commands to manage TLS certificate key pairs as Kubernetes Secrets. help, h Shows a list of commands or help for one command ```
34 lines
883 B
Nix
34 lines
883 B
Nix
{ buildGoModule, lib, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "kubergrunt";
|
|
version = "0.7.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gruntwork-io";
|
|
repo = "kubergrunt";
|
|
rev = "v${version}";
|
|
sha256 = "1224ssqdz9ak0vylyfbr9c2w0yfdp4hw9jh99qmfi2j5nhw9kzcc";
|
|
};
|
|
|
|
vendorSha256 = "1hbb3hn8mzz9h9p1rl35izz3l6c2rqsg8aq6dgpbpsf5krp3zs3v";
|
|
|
|
# Disable tests since it requires network access and relies on the
|
|
# presence of certain AWS infrastructure
|
|
doCheck = false;
|
|
|
|
runVend = true;
|
|
|
|
postInstall = ''
|
|
# The binary is named kubergrunt
|
|
mv $out/bin/cmd $out/bin/kubergrunt
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Collection of commands to fill in the gaps between Terraform, Helm, and Kubectl";
|
|
homepage = "https://github.com/gruntwork-io/kubergrunt";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ psibi ];
|
|
};
|
|
}
|