treewide: bump to k8s v1.33.2
Update Kubernetes to 1.33 which is already at patch version 2. As part
of K8s gomod dependencies containerd was bumped a minor release to 2.1.3.
The UserNamespacesSupport feature gate is now default-on and was thus
dropped. The netlink patches were upstreamed and can now be dropped as
part of the depenency update. A new klog sink adapter for our logging
interface was introduced as the client-go MutationCache now requires a
logger.
containerd abuses gRPC interfaces for mocking, thus they are not
forward-compatible and need a new patch to be compatible with the
CRI version now being used.
Change-Id: I4feb2ab3bcfca5b83c7ea38ed444b14ade1e9bf0
Reviewed-on: https://review.monogon.dev/c/monogon/+/4433
Tested-by: Jenkins CI
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
diff --git a/build/bazel/go.MODULE.bazel b/build/bazel/go.MODULE.bazel
index dfa5b91..d2f56ed 100644
--- a/build/bazel/go.MODULE.bazel
+++ b/build/bazel/go.MODULE.bazel
@@ -86,6 +86,7 @@
"io_k8s_cli_runtime",
"io_k8s_client_go",
"io_k8s_component_base",
+ "io_k8s_klog_v2",
"io_k8s_kubectl",
"io_k8s_kubelet",
"io_k8s_kubernetes",
@@ -117,6 +118,9 @@
"gazelle:proto disable",
"gazelle:build_tags no_aufs,no_btrfs,no_devmapper,no_zfs",
],
+ "pre_patches": [
+ "//third_party/com_github_containerd_containerd_v2:add-unimplemented-functions.patch",
+ ],
},
"github.com/containerd/cgroups/v3": {
"directives": [
@@ -171,9 +175,6 @@
"directives": [
"gazelle:proto disable_global",
],
- "pre_patches": [
- "//third_party/com_github_google_cadvisor:cadvisor-errdefs1.patch",
- ],
},
"github.com/sqlc-dev/sqlc": {
"directives": [
@@ -381,11 +382,6 @@
"//third_party/com_github_seccomp_libseccomp_golang:libseccomp.patch",
],
},
- "github.com/vishvananda/netlink": {
- "patches": [
- "//third_party/com_github_vishvananda_netlink:netlink-psample.patch",
- ],
- },
"gvisor.dev/gvisor": {
"patches": [
"//third_party/com_gvisor_dev_gvisor:gvisor-fix-syslog.patch",