kubernetes-controller-tools: 0.14.0 -> 0.16.1 (#338425)

This commit is contained in:
Sandro
2024-09-04 13:21:19 +02:00
committed by GitHub
@@ -2,25 +2,18 @@
buildGoModule rec {
pname = "controller-tools";
version = "0.14.0";
version = "0.16.1";
src = fetchFromGitHub {
owner = "kubernetes-sigs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-G0jBQ12cpjfWGhXYppV9dB2n68bExi6ME9QbxXsUWvw=";
sha256 = "sha256-BPadZ9FVWnE/5OVYRyGZVGQQ4B3Is+HhUWcf3ZVS7jM=";
};
patches = [ ./version.patch ];
postPatch = ''
# fix wrong go line which go mod tidy complains about
# https://github.com/kubernetes-sigs/controller-tools/pull/881
substituteInPlace go.mod \
--replace-fail "go 1.20" "go 1.21"
'';
vendorHash = "sha256-8XSMg/MII+HlsFuaOC6CK/jYiBXfeRZmLT7sW/ZN3Ts=";
vendorHash = "sha256-3p9K08WMqDRHHa9116//3lFeaMtRaipD4LyisaKWV7I=";
ldflags = [
"-s"