From b66905052bcd6d2a65a0dadf9aaf2206d6f7a3eb Mon Sep 17 00:00:00 2001 From: Aleksei Sviridkin Date: Fri, 13 Nov 2026 06:46:21 +0300 Subject: [PATCH] chore(renovate): hold the updates known to break Renovate should not keep proposing updates that are known not to work. A rule holds each such dependency and names the reason in its description: the cel-go releases its repository no longer tags, kube-openapi's move to structured-merge-diff v7 and that v7 itself, the Flux API modules running ahead of the installed CRDs, the controller-runtime admission API on jsonpatch v2, the jwk.Cache that jwx v4 removed, the CDI API upstream csi-driver no longer compiles against, the node 18 engine outline-server declares, the x86-64-v3 floor of AlmaLinux 10, the Flux CLI version the flux action has to install, the one-minor skew kubectl allows against the management cluster, and the uutils date of Ubuntu 26.04, which slows the e2e sandbox install by about ten minutes. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin --- .github/renovate.json | 95 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 94 insertions(+), 1 deletion(-) diff --git a/.github/renovate.json b/.github/renovate.json index f36beeb6b..be2a0c81e 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -61,6 +61,61 @@ "matchManagers": ["gomod"], "matchPackageNames": ["sigs.k8s.io/controller-runtime", "k8s.io/**"] }, + { + "description": "cel-go moved to cel.dev/cel-go, and the github.com/google/cel-go repository has no tags past v0.30.0. proxy.golang.org still serves v0.31.0 and v0.32.0 from its cache, but a build that resolves modules from the repository (GOPROXY=direct, or an Athens or Artifactory proxy that fetches from VCS) fails on them, and v0.32.0 declares the module path cel.dev/cel-go, which k8s.io/apiserver does not import. The rule can go once nothing in the module graph requires github.com/google/cel-go.", + "matchManagers": ["gomod"], + "matchPackageNames": ["github.com/google/cel-go"], + "allowedVersions": "<0.31.0" + }, + { + "description": "The newest kube-openapi commits require structured-merge-diff v7, and k8s.io/apimachinery v0.37 does not compile against it (pkg/util/managedfields/internal/typeconverter.go hands v7 schema types to v6). Renovate does not raise kube-openapi; each module keeps the commit its dependencies require, and it moves with the Kubernetes libraries.", + "matchManagers": ["gomod"], + "matchPackageNames": ["k8s.io/kube-openapi"], + "enabled": false + }, + { + "description": "Renovate offers a dependency's patch and minor update as one update to the newest minor unless they are split, so the Flux hold below would also drop the patch releases it means to let through.", + "matchManagers": ["gomod"], + "matchPackageNames": ["github.com/fluxcd/**"], + "separateMinorPatch": true + }, + { + "description": "structured-merge-diff v7 is a new module path that k8s.io/apimachinery v0.37 does not compile against: its managedfields package hands v7 schema types to v6 (pkg/util/managedfields/internal/typeconverter.go). It moves when the Kubernetes libraries do.", + "matchManagers": ["gomod"], + "matchPackageNames": ["sigs.k8s.io/structured-merge-diff/**"], + "matchUpdateTypes": ["major"], + "enabled": false + }, + { + "description": "The Flux API modules describe the CRDs of the Flux release the platform installs (internal/fluxinstall), so they stay on that release line; patches still arrive. A newer minor would let the operator and the apps API write fields the installed controllers do not know. They move together with the Flux release.", + "matchManagers": ["gomod"], + "matchPackageNames": ["github.com/fluxcd/**"], + "matchUpdateTypes": ["major", "minor"], + "enabled": false + }, + { + "description": "controller-runtime's admission.Patched takes gomodules.xyz/jsonpatch/v2 operations, so the flux-shard-operator webhook cannot build its patch with v3 types. The major moves when controller-runtime does.", + "matchManagers": ["gomod"], + "matchPackageNames": ["gomodules.xyz/jsonpatch/**"], + "matchUpdateTypes": ["major"], + "enabled": false + }, + { + "description": "jwx v4 removes jwk.Cache, on which the token proxy's JWKS refresh and readiness are built, so the major needs that code rewritten rather than an import path bump.", + "matchManagers": ["gomod"], + "matchFileNames": ["packages/system/dashboard/images/token-proxy/**"], + "matchPackageNames": ["github.com/lestrrat-go/jwx/**"], + "matchUpdateTypes": ["major"], + "enabled": false + }, + { + "description": "Upstream kubevirt csi-driver builds against kubevirt.io/api v1.2 and CDI API v1.59; with a newer CDI API its controller no longer compiles (it passes ResourceRequirements where the newer DataVolume type wants VolumeResourceRequirements). Both follow upstream csi-driver.", + "matchManagers": ["gomod"], + "matchFileNames": ["packages/apps/kubernetes/images/kubevirt-csi-driver/**"], + "matchPackageNames": ["kubevirt.io/api", "kubevirt.io/containerized-data-importer-api"], + "matchUpdateTypes": ["major", "minor"], + "enabled": false + }, { "description": "Never bump the Go toolchain directive. go.mod is generated and the toolchain is pinned deliberately; raising it needs a matching setup-go and a codegen run, which is out of scope for an automated dependency bump.", "matchManagers": ["gomod"], @@ -80,7 +135,7 @@ "schedule": ["before 6am on monday"] }, { - "description": "The Harbor rebuilds reproduce one upstream release, so their build bases follow upstream's Makefile at that tag (GOBUILDIMAGE, NODEBUILDIMAGE) rather than the newest image. A golang tag bump builds Harbor with a toolchain upstream never shipped it with, and a node major breaks the Angular portal build. Tag bumps are disabled here; digest refreshes of the same tag still arrive through the digest group above. Move the tags by hand with HARBOR_VERSION.", + "description": "The Harbor rebuilds reproduce one upstream release, and their Dockerfiles assert that the Go and node versions they build with equal GOBUILDIMAGE and NODEBUILDIMAGE in upstream's Makefile at that tag, so a tag that moves either version fails the build. Digest refreshes of the same tag still arrive through the digest group above; move the tags with HARBOR_VERSION.", "matchManagers": ["dockerfile"], "matchFileNames": ["packages/system/harbor/images/**"], "matchUpdateTypes": ["major", "minor", "patch"], @@ -118,6 +173,44 @@ "matchManagers": ["gomod"], "matchPackageNames": ["kubevirt.io/csi-driver"], "enabled": false + }, + { + "description": "The flux action's tag has to equal the Flux CLI version it installs, which follows the Flux release the platform runs: hack/verify-promoted-packages.sh restates that CLI's excludeOCI set, and hack/ci-tool-installs-contract.bats fails when the two differ. The action moves together with the Flux release.", + "matchManagers": ["github-actions"], + "matchPackageNames": ["fluxcd/flux2"], + "matchUpdateTypes": ["major", "minor", "patch"], + "enabled": false + }, + { + "description": "AlmaLinux 10 builds its amd64 userland for x86-64-v3 (AVX2). The kubevirt CSI node service runs mkfs, blkid, fsck and mount from this image inside tenant VMs, and on a vCPU without x86-64-v3 each of them exits at startup while the pod looks healthy; the same CPU floor broke the driver's sidecars before. The image stays on AlmaLinux 9.", + "matchManagers": ["dockerfile"], + "matchFileNames": ["packages/apps/kubernetes/images/kubevirt-csi-driver/**"], + "matchPackageNames": ["almalinux", "docker.io/library/almalinux"], + "matchUpdateTypes": ["major"], + "enabled": false + }, + { + "description": "Ubuntu 26.04 ships uutils coreutils, whose date costs about four times as much per call as GNU date. hack/cozytest.sh forks date for every traced line, so on 26.04 the install phase of the e2e sandbox takes about ten minutes longer and the full suite no longer fits its job budget. The sandbox stays on Ubuntu 24.04 until the harness stops forking per line.", + "matchManagers": ["dockerfile"], + "matchFileNames": ["packages/core/testing/images/e2e-sandbox/**"], + "matchPackageNames": ["ubuntu"], + "matchUpdateTypes": ["major"], + "enabled": false + }, + { + "description": "outline-server declares engines node 18.x, and npm ci in the shadowbox build fails with EBADENGINE on any other node major. The node tag moves when outline-server raises its engine.", + "matchManagers": ["dockerfile"], + "matchFileNames": ["packages/apps/vpn/images/shadowbox/**"], + "matchPackageNames": ["node"], + "matchUpdateTypes": ["major"], + "enabled": false + }, + { + "description": "The cleanup hooks (post-delete, and kafka's pre-delete) run clastix/kubectl against the management cluster, and kubectl supports one minor of skew with the API server. The tag stays on a minor the supported management cluster versions accept; digest refreshes of that tag still arrive.", + "matchManagers": ["custom.regex"], + "matchPackageNames": ["docker.io/clastix/kubectl"], + "matchUpdateTypes": ["major", "minor"], + "enabled": false } ] }