Merge pull request #118113 from DiegoLelis/kuttl-v0.9.0

kuttl: init at version 0.9.0
This commit is contained in:
Wael Nasreddine 2021-03-31 13:40:33 -07:00 committed by GitHub
commit ce865faa4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 0 deletions

View file

@ -2349,6 +2349,12 @@
githubId = 15774340;
name = "Thomas Depierre";
};
diegolelis = {
email = "diego.o.lelis@gmail.com";
github = "diegolelis";
githubId = 8404455;
name = "Diego Lelis";
};
dipinhora = {
email = "dipinhora+github@gmail.com";
github = "dipinhora";

View file

@ -0,0 +1,31 @@
{ lib, buildGoModule, fetchFromGitHub}:
buildGoModule rec {
name = "kuttl";
pname = "kuttl";
version = "0.9.0";
cli = "kubectl-kuttl";
src = fetchFromGitHub {
owner = "kudobuilder";
repo = "kuttl";
rev = "v${version}";
sha256 = "sha256:1cji0py2340mvcpplwq3licdkzjx7q5f27fdjjxvbhrgksnyw6hs";
};
vendorSha256 = "sha256:1shra42ifa2knxp58fj5hn074jg89f3nqdqk4rqbp3ybir84ahsd";
subPackages = [ "cmd/kubectl-kuttl" ];
buildFlagsArray = ''
-ldflags=-s -w
-X github.com/kudobuilder/kuttl/pkg/version.gitVersion=${version}
'';
meta = with lib; {
description = "The KUbernetes Test TooL (KUTTL) provides a declarative approach to testing production-grade Kubernetes operators";
homepage = "https://github.com/kudobuilder/kuttl";
license = licenses.asl20;
maintainers = with maintainers; [ diegolelis ];
};
}

View file

@ -23759,6 +23759,10 @@ in
kubectl = callPackage ../applications/networking/cluster/kubectl { };
kuttl = callPackage ../applications/networking/cluster/kuttl {
buildGoModule = buildGo115Module;
};
kubectl-doctor = callPackage ../applications/networking/cluster/kubectl-doctor { };
kubectl-example = callPackage ../applications/networking/cluster/kubectl-example { };