treewide: update Kubernetes to 1.32
Relatively easy change, one cadvisor fix is temporarily needed. The
legacy log dir patch needed to be rebased, that's about it.
I enabled single-process OOM killing again as that was the default for
cgroupv1 and IMO the more sane behavior.
Upstrem changelog at:
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.32.md
Change-Id: I537a6e37137d05efb6eec8635915e36fd8b37cbc
Reviewed-on: https://review.monogon.dev/c/monogon/+/3721
Reviewed-by: Jan Schär <jan@monogon.tech>
Tested-by: Jenkins CI
diff --git a/build/bazel/go.MODULE.bazel b/build/bazel/go.MODULE.bazel
index 8b6eaef..a79091b 100644
--- a/build/bazel/go.MODULE.bazel
+++ b/build/bazel/go.MODULE.bazel
@@ -108,11 +108,6 @@
# Instead of defining a gazelle/module override for every dependency, we have a
# big dict containing all of them.
OVERRIDES = {
- "github.com/containerd/cgroups": {
- "directives": [
- "gazelle:proto disable",
- ],
- },
"github.com/containerd/containerd/v2": {
"directives": [
"gazelle:proto disable",
@@ -188,6 +183,9 @@
"directives": [
"gazelle:proto disable_global",
],
+ "pre_patches": [
+ "//third_party/go/patches:cadvisor-errdefs1.patch",
+ ],
},
"github.com/sqlc-dev/sqlc": {
"build_extra_args": [