-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kubernetes-metrics-server: init at version 0.6.2
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
pkgs/applications/networking/cluster/kubernetes-metrics-server/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ lib, buildGoModule, fetchFromGitHub }: | ||
|
||
buildGoModule rec { | ||
pname = "kubernetes-metrics-server"; | ||
version = "0.6.2"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "kubernetes-sigs"; | ||
repo = "metrics-server"; | ||
rev = "v${version}"; | ||
sha256 = "sha256-TTI+dNBQ/jKt6Yhud3/OO+zOkeO46CmUz6J6ByX26JE="; | ||
}; | ||
|
||
vendorSha256 = "sha256-lpSMvHYlPtlJQUqsdXJ6ewBEBiwLPvP/rsUgYzJhOxc="; | ||
|
||
preCheck = '' | ||
# the e2e test breaks the sandbox, so let's skip that | ||
rm test/e2e_test.go | ||
''; | ||
|
||
meta = with lib; { | ||
homepage = "https://github.com/kubernetes-sigs/metrics-server"; | ||
description = "Kubernetes container resource metrics collector"; | ||
license = licenses.asl20; | ||
maintainers = with maintainers; [ eskytthe ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters