Merge pull request #230061 from kranurag7/k8sgpt

k8sgpt: init at 0.3.5
This commit is contained in:
Weijia Wang 2023-05-29 16:40:14 +03:00 committed by GitHub
commit 592a5ec754
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "k8sgpt";
version = "0.3.5";
src = fetchFromGitHub {
owner = "k8sgpt-ai";
repo = "k8sgpt";
rev = "v${version}";
hash = "sha256-AUUcC9S1+83ZlOH/LEG+QXstxpr8949JbqFMF9hIiVE=";
};
vendorHash = "sha256-tXLt18ryxO9Q7E/MJWDlZy1gmxnMauqfcbmRdF9uUt8=";
CGO_ENABLED = 0;
ldflags = [
"-s" "-w"
"-X main.version=v${version}"
"-X main.commit=${src.rev}"
"-X main.date=1970-01-01-00:00:01"
];
meta = with lib; {
description = "Giving Kubernetes Superpowers to everyone";
homepage = "https://k8sgpt.ai";
changelog = "https://github.com/k8sgpt-ai/k8sgpt/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ developer-guy kranurag7 ];
};
}

View file

@ -32027,6 +32027,8 @@ with pkgs;
kubelogin-oidc = callPackage ../applications/networking/cluster/kubelogin-oidc { };
k8sgpt = callPackage ../applications/networking/cluster/k8sgpt { };
k9s = callPackage ../applications/networking/cluster/k9s { };
kubecm = callPackage ../applications/networking/cluster/kubecm { };