Unverified Commit 6a20894b authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #280222 from bryanasdev000/kyverno-fix-test

kyverno: 1.10.5 -> 1.11.3
parents 221a4a0a f3dfd73e
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -2,13 +2,13 @@

buildGoModule rec {
  pname = "kyverno";
  version = "1.10.5";
  version = "1.11.3";

  src = fetchFromGitHub {
    owner = "kyverno";
    repo = "kyverno";
    rev = "v${version}";
    sha256 = "sha256-APv9Z8cxcG283sEvC3/xwNMXStytM2dr/pemTES0Ltk=";
    sha256 = "sha256-aFogX7cBf5SF1nSyQ/L8uY/xwvZxXHaWGHe3gWHGHQQ=";
  };

  ldflags = [
@@ -18,7 +18,7 @@ buildGoModule rec {
    "-X github.com/kyverno/kyverno/pkg/version.BuildTime=1970-01-01_00:00:00"
  ];

  vendorHash = "sha256-R2810TRxKDPOBfdCSNFJ4425tHQC6R4d5Xltd7jK2V8=";
  vendorHash = "sha256-jZAylCLmEWpAflxrtrh1jhVuctVlUqfC5rxqcho2GcE=";

  subPackages = [ "cmd/cli/kubectl-kyverno" ];

@@ -36,7 +36,7 @@ buildGoModule rec {
  passthru.tests.version = testers.testVersion {
    package = kyverno;
    command = "kyverno version";
    inherit version;
    version = "v${version}"; # needed because testVersion uses grep -Fw
  };

  meta = with lib; {