diff options
author | Sibi Prabakaran <sibi@psibi.in> | 2021-12-21 11:16:28 +0530 |
---|---|---|
committer | Sibi Prabakaran <sibi@psibi.in> | 2021-12-28 08:05:34 +0530 |
commit | a8b67b4f5d5b213e3aa83a8d0b79d78d8b1fbf44 (patch) | |
tree | d9cd8c7447076f54375ac1b08b762dc3846f5b06 /pkgs/applications/networking/cluster | |
parent | 72e45af374c4abd38d01ea3a302baa0d76f7b9b7 (diff) |
kubergrunt: init at 0.7.11
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 ```
Diffstat (limited to 'pkgs/applications/networking/cluster')
-rw-r--r-- | pkgs/applications/networking/cluster/kubergrunt/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/kubergrunt/default.nix b/pkgs/applications/networking/cluster/kubergrunt/default.nix new file mode 100644 index 0000000000000..733bb3c594121 --- /dev/null +++ b/pkgs/applications/networking/cluster/kubergrunt/default.nix @@ -0,0 +1,33 @@ +{ 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 ]; + }; +} |