diff --git a/pkgs/by-name/ki/kind/package.nix b/pkgs/by-name/ki/kind/package.nix index 5a5d0303a46e..ee1ea69f2044 100644 --- a/pkgs/by-name/ki/kind/package.nix +++ b/pkgs/by-name/ki/kind/package.nix @@ -3,6 +3,7 @@ stdenv, buildGoModule, fetchFromGitHub, + fetchpatch, installShellFiles, testers, nix-update-script, @@ -11,18 +12,24 @@ buildGoModule (finalAttrs: { pname = "kind"; - version = "0.31.0"; + version = "0.32.0"; src = fetchFromGitHub { rev = "v${finalAttrs.version}"; owner = "kubernetes-sigs"; repo = "kind"; - hash = "sha256-3icwtfwlSkYOEw9bzEhKJC7OtE1lnBjZSYp+cC/2XNc="; + hash = "sha256-ii0VhS1Nib+r2ZFIIkRvkcGY1fLxev6WnhbqvaZW7j8="; }; patches = [ # fix kernel module path used by kind ./kernel-module-path.patch + + # fix apiserver connection loss after envoy lb container restart + (fetchpatch { + url = "https://github.com/kubernetes-sigs/kind/commit/9a24e6c1ae3d59f8de052ee5c3842820450a369a.patch"; + hash = "sha256-BP2Ub8b1GA7V0CGvhcoGuHRm7u+IMRTmN3mDc2rePnY="; + }) ]; vendorHash = "sha256-tRpylYpEGF6XqtBl7ESYlXKEEAt+Jws4x4VlUVW8SNI=";