Merge pull request #292144 from Sanskarzz/kyverno-chainsaw

kyverno-chainsaw: init at 0.1.7
This commit is contained in:
Pol Dellaiera 2024-03-12 15:24:14 +01:00 committed by GitHub
commit f931fc9d74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 44 additions and 0 deletions

View File

@ -17159,6 +17159,12 @@
githubId = 1153271;
name = "Sander van der Burg";
};
Sanskarzz = {
email = "sanskar.gur@gmail.com";
github = "Sanskarzz";
githubId = 92817635;
name = "Sanskar Gurdasani";
};
sarcasticadmin = {
email = "rob@sarcasticadmin.com";
github = "sarcasticadmin";

View File

@ -0,0 +1,38 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kyverno-chainsaw";
version = "0.1.7";
src = fetchFromGitHub {
owner = "kyverno";
repo = "chainsaw";
rev = "v${version}";
hash = "sha256-v71qAJSpnbHd+jkPkR34IVNvwWLhm04TrPzduB6ZOgA=";
};
vendorHash = "sha256-lHV5Ik/L/Svn9AvcKZupq778ektEsbxfOkCts4Ocx9g=";
ldflags = [
"-s" "-w"
"-X github.com/kyverno/chainsaw/pkg/version.BuildVersion=v${version}"
"-X github.com/kyverno/chainsaw/pkg/version.BuildHash=${version}"
"-X github.com/kyverno/chainsaw/pkg/version.BuildTime=1970-01-01_00:00:00"
];
doCheck = false; # requires running kubernetes
meta = {
changelog = "https://github.com/kyverno/chainsaw/releases/tag/v${version}";
description = "Declarative approach to test Kubernetes operators and controllers";
homepage = "https://kyverno.github.io/chainsaw/";
license = lib.licenses.asl20;
longDescription = ''
Chainsaw is meant to test Kubernetes operators work as expected by running a sequence of test steps for:
* Creating resources
* Asserting operators react (or not) the way they should
'';
mainProgram = "chainsaw";
maintainers = with lib.maintainers; [ Sanskarzz ];
};
}