Skip to content

fix(deps): update module sigs.k8s.io/controller-runtime to v0.24.1#127

Open
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/sigs.k8s.io-controller-runtime-0.x
Open

fix(deps): update module sigs.k8s.io/controller-runtime to v0.24.1#127
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/sigs.k8s.io-controller-runtime-0.x

Conversation

@red-hat-konflux

@red-hat-konflux red-hat-konflux Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
sigs.k8s.io/controller-runtime v0.23.3v0.24.1 age confidence

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

kubernetes-sigs/controller-runtime (sigs.k8s.io/controller-runtime)

v0.24.1

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.24.0...v0.24.1

v0.24.0

Compare Source

⚠️ Breaking Changes

🐛 Bug Fixes

  • Cache: Fix IndexField blocking until informer is synced (#​3445)
  • Cache: Wait for cache sync when ReaderFailOnMissingInformer is true (#​3425)
  • Client: Update typed ApplyConfigurations with server response (#​3475)
  • Fakeclient: Fix SSA status patch resource version check (#​3443)
  • Fakeclient: Fix panic when using CRs with embedded pointer structs (#​3431)
  • Fakeclient: Fix status apply if existing object has managedFields set (#​3430)
  • Fakeclient: Retry GenerateName on AlreadyExists collisions (#​3498)
  • HTTP servers: Wire up base context into http servers (#​3452)

🌱 Others

  • Builder/Webhooks: Remove deprecated custom path function (#​3465)
  • Cache: Test cache reader waits for cache sync (#​3434)
  • Certwatcher: Deflake certwatcher tests (#​3457)
  • Dependencies: Use forked version of btree (#​3449)
  • Envtest: Ensure envtest stops the whole process group (#​3447)
  • Logging: Add missing space in zap-log-level flag description (#​3492)
  • Misc: Adopt new(x) over ptr.To(x) and re-enable newexpr lint (#​3489)
  • Owners: Cleanup (#​3453)
  • Recorder: Add logger into context for structured logging (#​3454)
  • Recorder: Switch to StartLogging for event debug logs (#​3451)
  • Scheme: Deprecate the scheme builder (#​3461)
  • Source/Kind: Improve logging for dynamic type kind source (#​3494)
  • Webhooks: Reduce memory usage of default webhooks (#​3463 #​3468)

🌱 CI & linters

  • Chore: Update golangci-lint version to v2.8.0 (#​3448)
  • Chore: Update golangci-lint version to v2.10.1 (#​3470)
  • Chore: Update golangci-lint version to v2.11.3 (#​3482)
  • Migrate away from custom GitHub action approval workflow (#​3491)
  • Release: Auto-create git tags for the tools/setup-envtest submodule (#​3476)

📖 Additionally, there has been 1 contribution to our documentation. (#​3477)

Dependencies

Added
  • github.com/cenkalti/backoff/v5: v5.0.3
  • gonum.org/v1/gonum: v0.16.0
  • k8s.io/streaming: v0.36.0
Changed
  • cel.dev/expr: v0.24.0 → v0.25.1
  • cloud.google.com/go/compute/metadata: v0.6.0 → v0.9.0
  • github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp: v1.26.0 → v1.30.0
  • github.com/alecthomas/units: b94a6e3 → 0f3dac3
  • github.com/cncf/xds/go: 2f00578 → ee656c7
  • github.com/coreos/go-oidc: v2.3.0+incompatible → v2.5.0+incompatible
  • github.com/coreos/go-systemd/v22: v22.5.0 → v22.7.0
  • github.com/davecgh/go-spew: v1.1.1 → d8f796a
  • github.com/emicklei/go-restful/v3: v3.12.2 → v3.13.0
  • github.com/envoyproxy/go-control-plane/envoy: v1.32.4 → v1.36.0
  • github.com/envoyproxy/go-control-plane: v0.13.4 → v0.14.0
  • github.com/envoyproxy/protoc-gen-validate: v1.2.1 → v1.3.0
  • github.com/go-jose/go-jose/v4: v4.0.4 → v4.1.3
  • github.com/golang-jwt/jwt/v5: v5.2.2 → v5.3.0
  • github.com/golang/glog: v1.2.4 → v1.2.5
  • github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus: v1.0.1 → v1.1.0
  • github.com/grpc-ecosystem/go-grpc-middleware/v2: v2.3.0 → v2.3.3
  • github.com/grpc-ecosystem/grpc-gateway/v2: v2.26.3 → v2.27.7
  • github.com/moby/spdystream: v0.5.0 → v0.5.1
  • github.com/onsi/ginkgo/v2: v2.27.2 → v2.27.4
  • github.com/onsi/gomega: v1.38.2 → v1.39.0
  • github.com/pmezard/go-difflib: v1.0.0 → 5d4384e
  • github.com/prometheus/common: v0.66.1 → v0.67.5
  • github.com/prometheus/procfs: v0.16.1 → v0.19.2
  • github.com/spf13/cobra: v1.10.0 → v1.10.2
  • github.com/spiffe/go-spiffe/v2: v2.5.0 → v2.6.0
  • go.etcd.io/etcd/api/v3: v3.6.5 → v3.6.8
  • go.etcd.io/etcd/client/pkg/v3: v3.6.5 → v3.6.8
  • go.etcd.io/etcd/client/v3: v3.6.5 → v3.6.8
  • go.etcd.io/etcd/pkg/v3: v3.6.5 → v3.6.8
  • go.etcd.io/etcd/server/v3: v3.6.5 → v3.6.8
  • go.opentelemetry.io/auto/sdk: v1.1.0 → v1.2.1
  • go.opentelemetry.io/contrib/detectors/gcp: v1.34.0 → v1.39.0
  • go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc: v0.60.0 → v0.65.0
  • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp: v0.61.0 → v0.65.0
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc: v1.34.0 → v1.40.0
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace: v1.34.0 → v1.40.0
  • go.opentelemetry.io/otel/metric: v1.36.0 → v1.41.0
  • go.opentelemetry.io/otel/sdk/metric: v1.36.0 → v1.40.0
  • go.opentelemetry.io/otel/sdk: v1.36.0 → v1.40.0
  • go.opentelemetry.io/otel/trace: v1.36.0 → v1.41.0
  • go.opentelemetry.io/otel: v1.36.0 → v1.41.0
  • go.opentelemetry.io/proto/otlp: v1.5.0 → v1.9.0
  • go.uber.org/zap: v1.27.0 → v1.27.1
  • golang.org/x/crypto: v0.45.0 → v0.47.0
  • golang.org/x/exp: 8a7402a944ab1f
  • golang.org/x/mod: v0.29.0 → v0.32.0
  • golang.org/x/net: v0.47.0 → v0.49.0
  • golang.org/x/oauth2: v0.30.0 → v0.34.0
  • golang.org/x/sync: v0.18.0 → v0.19.0
  • golang.org/x/sys: v0.38.0 → v0.40.0
  • golang.org/x/telemetry: 078029dbd525da
  • golang.org/x/term: v0.37.0 → v0.39.0
  • golang.org/x/text: v0.31.0 → v0.33.0
  • golang.org/x/time: v0.9.0 → v0.14.0
  • golang.org/x/tools/go/expect: v0.1.0-deprecated → v0.1.1-deprecated
  • golang.org/x/tools: v0.38.0 → v0.41.0
  • google.golang.org/genproto/googleapis/api: a0af3ef8636f87
  • google.golang.org/genproto/googleapis/rpc: 200df998636f87
  • google.golang.org/grpc: v1.72.2 → v1.79.3
  • google.golang.org/protobuf: v1.36.8 → f2248ac
  • k8s.io/api: v0.35.0 → v0.36.0
  • k8s.io/apiextensions-apiserver: v0.35.0 → v0.36.0
  • k8s.io/apimachinery: v0.35.0 → v0.36.0
  • k8s.io/apiserver: v0.35.0 → v0.36.0
  • k8s.io/client-go: v0.35.0 → v0.36.0
  • k8s.io/code-generator: v0.35.0 → v0.36.0
  • k8s.io/component-base: v0.35.0 → v0.36.0
  • k8s.io/klog/v2: v2.130.1 → v2.140.0
  • k8s.io/kms: v0.35.0 → v0.36.0
  • k8s.io/kube-openapi: 589584f43fb72c
  • k8s.io/utils: bc988d5b8788ab
  • sigs.k8s.io/apiserver-network-proxy/konnectivity-client: v0.31.2 → v0.34.0
  • sigs.k8s.io/structured-merge-diff/v6: v6.3.0 → v6.3.2
Removed
  • github.com/cenkalti/backoff/v4: v4.3.0
  • github.com/gregjones/httpcache: 901d907
  • github.com/grpc-ecosystem/go-grpc-prometheus: v1.2.0
  • github.com/zeebo/errs: v1.4.0
  • golang.org/x/xerrors: 9bdfabe

Thanks to all our contributors! 😊


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

@red-hat-konflux red-hat-konflux Bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. labels Jun 16, 2026
@red-hat-konflux

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: api/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 2 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.25.7 -> 1.26.0
k8s.io/apiextensions-apiserver v0.35.3 -> v0.36.0
k8s.io/apimachinery v0.35.3 -> v0.36.0
File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 4 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.25.7 -> 1.26.0
k8s.io/api v0.35.3 -> v0.36.0
k8s.io/apiextensions-apiserver v0.35.3 -> v0.36.0
k8s.io/apimachinery v0.35.3 -> v0.36.0
k8s.io/client-go v0.35.3 -> v0.36.0

@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Go toolchain version bumped from 1.25.7 to 1.26.0 in both api/go.mod and go.mod. Core Kubernetes packages (k8s.io/api, k8s.io/apiextensions-apiserver, k8s.io/apimachinery, k8s.io/client-go) advanced to v0.36.0 and sigs.k8s.io/controller-runtime to v0.24.1. Two unused indirect dependencies removed from the root module.

Changes

Go Toolchain and Kubernetes Dependency Updates

Layer / File(s) Summary
API module toolchain and Kubernetes dependencies
api/go.mod
Go toolchain updated to 1.26.0; k8s.io/apiextensions-apiserver, k8s.io/apimachinery, and sigs.k8s.io/controller-runtime bumped to v0.36.0, v0.36.0, and v0.24.1 respectively.
Root module toolchain, Kubernetes dependencies, and indirect cleanup
go.mod
Go toolchain updated to 1.26.0; k8s.io/api, k8s.io/apiextensions-apiserver, k8s.io/apimachinery, and k8s.io/client-go advanced to v0.36.0 and sigs.k8s.io/controller-runtime to v0.24.1. Unused indirect dependencies github.com/google/go-cmp and github.com/gregjones/httpcache removed.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title specifies updating sigs.k8s.io/controller-runtime to v0.24.1, but the PR also updates Go toolchain, Kubernetes dependencies, and removes indirect dependencies—changes not captured in the title. Revise title to reflect all major changes, such as: 'fix(deps): update Go to 1.26.0 and Kubernetes dependencies to v0.36.0' or use a more inclusive phrasing.
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The PR description accurately describes the dependency updates included in the changeset, specifically the controller-runtime upgrade from v0.23.3 to v0.24.1 and related Kubernetes dependency bumps.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@api/go.mod`:
- Around line 3-8: The test/agent/Dockerfile uses an outdated Go base image
version (golang:1.25.7-bookworm) that does not meet the Go 1.26.0 requirement
specified in both go.mod and api/go.mod files. Update the Dockerfile's base
image specification to use golang:1.26.0-bookworm instead of
golang:1.25.7-bookworm to ensure the go mod download and go build steps can
execute successfully with the required toolchain version.

In `@go.mod`:
- Around line 8-14: Update the k8s.io/cli-runtime dependency version from
v0.35.3 to v0.36.0 in the go.mod file to align with the other Kubernetes stack
dependencies (k8s.io/api, k8s.io/apiextensions-apiserver, k8s.io/apimachinery,
and k8s.io/client-go) which are all pinned to v0.36.0. Change the version
specification on the k8s.io/cli-runtime line from v0.35.3 to v0.36.0 to
eliminate the version mismatch.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 9f40a918-1999-4795-afa7-2d49c3d495bf

📥 Commits

Reviewing files that changed from the base of the PR and between 0955903 and b8ad4a8.

⛔ Files ignored due to path filters (2)
  • api/go.sum is excluded by !**/*.sum, !api/go.sum
  • go.sum is excluded by !**/*.sum, !go.sum
📒 Files selected for processing (2)
  • api/go.mod
  • go.mod
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • openshift/lightspeed-agentic-sandbox (manual)

Comment thread api/go.mod
Comment on lines +3 to +8
go 1.26.0

require (
k8s.io/apiextensions-apiserver v0.35.3
k8s.io/apimachinery v0.35.3
sigs.k8s.io/controller-runtime v0.23.3
k8s.io/apiextensions-apiserver v0.36.0
k8s.io/apimachinery v0.36.0
sigs.k8s.io/controller-runtime v0.24.1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail
rg -n --glob '!**/vendor/**' '\bgo 1\.25\.7\b|\bgolang:1\.25\b|\bgolang:1\.26\b|Go 1\.25|Go 1\.26' .

Repository: openshift/lightspeed-agentic-operator

Length of output: 146


🏁 Script executed:

#!/bin/bash
# Check root go.mod version requirement
head -20 go.mod | grep '^go '

Repository: openshift/lightspeed-agentic-operator

Length of output: 91


🏁 Script executed:

#!/bin/bash
# Find CI workflow files
fd -e yml -e yaml 'workflows|\.github' && cat .github/workflows/*.yml 2>/dev/null | rg -i 'go-version|golang|1\.25|1\.26' || true

Repository: openshift/lightspeed-agentic-operator

Length of output: 63


🏁 Script executed:

#!/bin/bash
# Check all references to Go versions across the repo
rg -n 'go 1\.(25|26)' --glob '!vendor' .

Repository: openshift/lightspeed-agentic-operator

Length of output: 127


🏁 Script executed:

#!/bin/bash
# Check for CI configuration in other common locations
find . -maxdepth 2 -type f \( -name '*.yml' -o -name '*.yaml' -o -name 'Makefile' -o -name '.gitlab-ci.yml' \) | head -20

Repository: openshift/lightspeed-agentic-operator

Length of output: 253


🏁 Script executed:

#!/bin/bash
# Check how test/agent/Dockerfile is used and what it builds
rg -n 'test/agent/Dockerfile|Dockerfile.*test.*agent' . --glob '!vendor'

Repository: openshift/lightspeed-agentic-operator

Length of output: 184


🏁 Script executed:

#!/bin/bash
# Look at test/agent/Dockerfile context
head -30 ./test/agent/Dockerfile

Repository: openshift/lightspeed-agentic-operator

Length of output: 1018


🏁 Script executed:

#!/bin/bash
# Check Tekton pipelines for Go version references
cat ./.tekton/lightspeed-agentic-operator-pull-request.yaml ./.tekton/lightspeed-agentic-operator-push.yaml 2>/dev/null | rg -i 'golang|go-version|1\.25|1\.26' -B2 -A2 || true

Repository: openshift/lightspeed-agentic-operator

Length of output: 63


🏁 Script executed:

#!/bin/bash
# Check Makefile for any Go version pins
cat ./Makefile | rg -n 'golang|go-version|1\.25|1\.26' || true

Repository: openshift/lightspeed-agentic-operator

Length of output: 723


🏁 Script executed:

#!/bin/bash
# Check README or docs for Go version documentation
find . -maxdepth 2 -name 'README*' -o -name '*.md' | xargs grep -l 'Go 1\.[0-9]' 2>/dev/null || true

Repository: openshift/lightspeed-agentic-operator

Length of output: 63


Bump test/agent/Dockerfile to match Go 1.26.0 requirement.

Both go.mod and api/go.mod require Go 1.26.0, but test/agent/Dockerfile still uses golang:1.25.7-bookworm. The go mod download and go build steps will fail because the toolchain version is below the minimum required in the go.mod files. The Dockerfile's own comment states "Builder image tracks go.mod; bump if toolchain rejects the tag"—this needs to be addressed by updating the base image to golang:1.26.0-bookworm.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@api/go.mod` around lines 3 - 8, The test/agent/Dockerfile uses an outdated Go
base image version (golang:1.25.7-bookworm) that does not meet the Go 1.26.0
requirement specified in both go.mod and api/go.mod files. Update the
Dockerfile's base image specification to use golang:1.26.0-bookworm instead of
golang:1.25.7-bookworm to ensure the go mod download and go build steps can
execute successfully with the required toolchain version.

Comment thread go.mod
Comment on lines +8 to +14
k8s.io/api v0.36.0
k8s.io/apiextensions-apiserver v0.36.0
k8s.io/apimachinery v0.36.0
k8s.io/cli-runtime v0.35.3
k8s.io/client-go v0.35.3
k8s.io/client-go v0.36.0
k8s.io/utils v0.0.0-20260507154919-ff6756f316d2
sigs.k8s.io/controller-runtime v0.23.3
sigs.k8s.io/controller-runtime v0.24.1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail
rg -n --glob '!**/vendor/**' 'k8s\.io/cli-runtime|k8s\.io/(api|apimachinery|client-go|apiextensions-apiserver)' .

Repository: openshift/lightspeed-agentic-operator

Length of output: 18124


🏁 Script executed:

#!/bin/bash
# Check for any comments or context around cli-runtime version in go.mod
head -20 go.mod

Repository: openshift/lightspeed-agentic-operator

Length of output: 623


🏁 Script executed:

#!/bin/bash
# Check git history for this specific line
git log -p --all -S 'k8s.io/cli-runtime v0.35.3' -- go.mod | head -100

Repository: openshift/lightspeed-agentic-operator

Length of output: 4590


🏁 Script executed:

#!/bin/bash
# Check if 0.36.0 of cli-runtime is available
rg -A 2 -B 2 'cli-runtime' go.sum

Repository: openshift/lightspeed-agentic-operator

Length of output: 550


🌐 Web query:

kubernetes k8s.io cli-runtime v0.36.0 release

💡 Result:

The k8s.io/cli-runtime module version v0.36.0 was released on April 22, 2026 [1]. This release occurred in conjunction with the broader Kubernetes v1.36.0 release, which followed a development cycle that began on January 12, 2026 [2][3]. Key details regarding this release: - Release Context: The v0.36.0 version serves as a staging repository dependency for Kubernetes, used to facilitate the creation of kubectl commands and plugins [4]. It is synced from the main Kubernetes repository [4]. - Release History: Following the initial v0.36.0 release in April, the module has seen further updates, including the release of v0.36.1 on May 12, 2026 [5][6]. - Development Milestones: The v0.36.0 release was preceded by several prerelease versions, such as v0.36.0-alpha.0 (March 19, 2026), v0.36.0-beta.0 (March 20, 2026), and v0.36.0-rc.0 (April 9, 2026) [7][8][1]. As of today, June 16, 2026, v0.36.0 is no longer the latest version of the k8s.io/cli-runtime module [5][6].

Citations:


🏁 Script executed:

#!/bin/bash
# Check if there's any build or test failure tracking related to cli-runtime
git log --oneline --all | head -30

Repository: openshift/lightspeed-agentic-operator

Length of output: 2382


🏁 Script executed:

#!/bin/bash
# Look for any GitHub issues or PR comments mentioning cli-runtime version compatibility
rg -i 'cli-runtime.*0\.36|cli-runtime.*version|version.*cli-runtime' . --type-list | head -20

Repository: openshift/lightspeed-agentic-operator

Length of output: 471


🏁 Script executed:

#!/bin/bash
# Check what genericclioptions APIs are actually used from cli-runtime
rg 'genericclioptions\.' --type go | head -20

Repository: openshift/lightspeed-agentic-operator

Length of output: 1582


🌐 Web query:

controller-runtime v0.24.1 cli-runtime compatibility breaking changes

💡 Result:

The controller-runtime v0.24.1 release, introduced in April 2026, includes several breaking changes primarily driven by the update to Kubernetes v1.36 dependencies [1][2]. Key breaking changes in the v0.24.x release cycle include: Builder and Webhooks: The deprecated custom path function for webhooks has been removed [2][3]. Scheme: The scheme builder has been officially deprecated [2][3]. Dependencies: The library has updated its core dependencies to k8s.io/* v1.36 [1][2]. Generic Validator and Defaulter: A new generic mechanism for webhooks was introduced, allowing for more flexible implementations [1]. Regarding compatibility with cli-runtime, controller-runtime maintains its versioning strategy by aligning its minor versions with specific Kubernetes minor releases [4][5]. It does not provide a formal compatibility matrix with other external libraries or cli-runtime versions beyond the Kubernetes dependencies defined in its go.mod file [4][5][6]. Because controller-runtime and its related Kubernetes libraries (like client-go and apimachinery) frequently undergo breaking changes in their minor versions, compatibility is typically only guaranteed within the versions explicitly tested and scaffolded for a specific release [4][6]. If you are upgrading to v0.24.1, it is recommended to review your go.mod file to ensure alignment with the k8s.io/* v1.36 dependencies and verify that your custom webhook implementations and scheme management align with the updated patterns [2][3][4].

Citations:


Bump k8s.io/cli-runtime to v0.36.0 to align with the rest of the Kubernetes stack.

The other k8s modules (api, apimachinery, client-go, apiextensions-apiserver) are all at v0.36.0, but k8s.io/cli-runtime remains pinned at v0.35.3. The v0.36.0 release exists (released April 22, 2026) and the CLI code uses only stable, widely-compatible APIs from cli-runtime (IOStreams, ConfigFlags). Keeping this version-skewed across the same minor release introduces unnecessary dependency mismatch risk, especially since controller-runtime v0.24.1 itself requires k8s 1.36 dependencies.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@go.mod` around lines 8 - 14, Update the k8s.io/cli-runtime dependency version
from v0.35.3 to v0.36.0 in the go.mod file to align with the other Kubernetes
stack dependencies (k8s.io/api, k8s.io/apiextensions-apiserver,
k8s.io/apimachinery, and k8s.io/client-go) which are all pinned to v0.36.0.
Change the version specification on the k8s.io/cli-runtime line from v0.35.3 to
v0.36.0 to eliminate the version mismatch.

@openshift-ci openshift-ci Bot requested review from joshuawilson and onmete June 16, 2026 04:26
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 7c9a717 and 2 for PR HEAD b8ad4a8 in total

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD bce4ef7 and 1 for PR HEAD b8ad4a8 in total

@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 16, 2026
@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/main/sigs.k8s.io-controller-runtime-0.x branch from b8ad4a8 to e6e371a Compare June 16, 2026 12:28
@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Jun 16, 2026
@openshift-ci

openshift-ci Bot commented Jun 16, 2026

Copy link
Copy Markdown

New changes are detected. LGTM label has been removed.

@openshift-ci openshift-ci Bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 16, 2026
@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/main/sigs.k8s.io-controller-runtime-0.x branch 3 times, most recently from 991f618 to ec145a9 Compare June 17, 2026 20:17
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/main/sigs.k8s.io-controller-runtime-0.x branch from ec145a9 to 048cd86 Compare June 18, 2026 13:05
@openshift-ci

openshift-ci Bot commented Jun 18, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci

openshift-ci Bot commented Jun 18, 2026

Copy link
Copy Markdown

@red-hat-konflux[bot]: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/api-lint 048cd86 link true /test api-lint
ci/prow/generate 048cd86 link true /test generate
ci/prow/unit 048cd86 link true /test unit

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants