m/n/k/nfproxy: use discovery/v1 API
The old discovery/v1beta1 is deprecated and removed in 1.25. We need to
get nfproxy to use the new API (available since 1.21) before we jump
to a K8s control plane version above 1.25.
Change-Id: I6336e168e9efbfc4a7b41f6fe15efebf95624df2
Reviewed-on: https://review.monogon.dev/c/monogon/+/2407
Tested-by: Jenkins CI
Reviewed-by: Tim Windelschmidt <tim@monogon.tech>
diff --git a/third_party/go/repositories.bzl b/third_party/go/repositories.bzl
index 9d818f9..3472d83 100644
--- a/third_party/go/repositories.bzl
+++ b/third_party/go/repositories.bzl
@@ -4362,7 +4362,7 @@
name = "com_github_sbezverk_nfproxy",
importpath = "github.com/sbezverk/nfproxy",
patch_args = ["-p1"],
- patches = [
+ pre_patches = [
"//third_party/go/patches:nfproxy-adopt-to-k8s-1.24.patch",
],
sum = "h1:nlKDckTP5mXfdpUST7l4cU6fGzMlkv/CVg+EVOsClS8=",