kube-state-metrics: init at 2.12.0 (#314208)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Erik Skytthe 2024-05-28 14:46:22 +02:00 committed by GitHub
parent 80d2ab0d29
commit 25e319b76c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,32 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "kube-state-metrics";
version = "2.12.0";
src = fetchFromGitHub {
owner = "kubernetes";
repo = "kube-state-metrics";
rev = "v${version}";
hash = "sha256-EBSlufgzT4zgxTO5B0/RHHJJ2GgtU3U9ypd1QjC3knE=";
};
vendorHash = "sha256-A/oiFEWM3TOtk4V3xpehJ+5oKSyzYKZHVlp3wjykFRA=";
excludedPackages = [
"./tests/e2e"
"./tools"
];
meta = {
homepage = "https://github.com/kubernetes/kube-state-metrics";
description = "Add-on agent to generate and expose k8s cluster-level metrics";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.eskytthe ];
platforms = lib.platforms.unix;
};
}