Skip to content

fix(deps): update kubernetes packages to v0.36.1#801

Open
red-hat-konflux[bot] wants to merge 1 commit into
release/2.y.zfrom
konflux/mintmaker/release/2.y.z/kubernetes-go
Open

fix(deps): update kubernetes packages to v0.36.1#801
red-hat-konflux[bot] wants to merge 1 commit into
release/2.y.zfrom
konflux/mintmaker/release/2.y.z/kubernetes-go

Conversation

@red-hat-konflux
Copy link
Copy Markdown
Contributor

@red-hat-konflux red-hat-konflux Bot commented May 14, 2026

This PR contains the following updates:

Package Change Age Confidence
k8s.io/api v0.35.1v0.36.1 age confidence
k8s.io/apiextensions-apiserver v0.35.1v0.36.1 age confidence
k8s.io/apimachinery v0.35.1v0.36.1 age confidence
k8s.io/apiserver v0.35.1v0.36.1 age confidence
k8s.io/cli-runtime v0.35.1v0.36.1 age confidence
k8s.io/client-go v0.35.1v0.36.1 age confidence
k8s.io/component-base v0.35.1v0.36.1 age confidence
k8s.io/kubectl v0.35.1v0.36.1 age confidence

Warning

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


Release Notes

kubernetes/api (k8s.io/api)

v0.36.1

Compare Source

v0.36.0

Compare Source

v0.35.5

Compare Source

v0.35.4

Compare Source

v0.35.3

Compare Source

v0.35.2

Compare Source

kubernetes/apiextensions-apiserver (k8s.io/apiextensions-apiserver)

v0.36.1

Compare Source

v0.36.0

Compare Source

v0.35.5

Compare Source

v0.35.4

Compare Source

v0.35.3

Compare Source

v0.35.2

Compare Source

kubernetes/apimachinery (k8s.io/apimachinery)

v0.36.1

Compare Source

v0.36.0

Compare Source

v0.35.5

Compare Source

v0.35.4

Compare Source

v0.35.3

Compare Source

v0.35.2

Compare Source

kubernetes/apiserver (k8s.io/apiserver)

v0.36.1

Compare Source

v0.36.0

Compare Source

v0.35.5

Compare Source

v0.35.4

Compare Source

v0.35.3

Compare Source

v0.35.2

Compare Source

kubernetes/cli-runtime (k8s.io/cli-runtime)

v0.36.1

Compare Source

v0.36.0

Compare Source

v0.35.5

Compare Source

v0.35.4

Compare Source

v0.35.3

Compare Source

v0.35.2

Compare Source

kubernetes/client-go (k8s.io/client-go)

v0.36.1

Compare Source

v0.36.0

Compare Source

v0.35.5

Compare Source

v0.35.4

Compare Source

v0.35.3

Compare Source

v0.35.2

Compare Source

kubernetes/component-base (k8s.io/component-base)

v0.36.1

Compare Source

v0.36.0

Compare Source

v0.35.5

Compare Source

v0.35.4

Compare Source

v0.35.3

Compare Source

v0.35.2

Compare Source

kubernetes/kubectl (k8s.io/kubectl)

v0.36.1

Compare Source

v0.36.0

Compare Source

v0.35.5

Compare Source

v0.35.4

Compare Source

v0.35.3

Compare Source

v0.35.2

Compare Source


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 these updates 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
Copy link
Copy Markdown
Contributor Author

red-hat-konflux Bot commented May 14, 2026

ℹ️ Artifact update notice

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):

  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.25.0 -> 1.26.0

@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented May 14, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates the Go toolchain version and aligns all Kubernetes-related dependencies from v0.35.1 to v0.36.1 (plus associated indirect modules), removing now-unneeded indirect deps, with no application code changes.

File-Level Changes

Change Details Files
Bump Go toolchain version used by the module.
  • Update go directive from 1.25.0 to 1.26.0 in the module definition
go.mod
Upgrade all direct Kubernetes libraries to v0.36.1.
  • Update k8s.io/api dependency from v0.35.1 to v0.36.1
  • Update k8s.io/apiextensions-apiserver dependency from v0.35.1 to v0.36.1
  • Update k8s.io/apimachinery dependency from v0.35.1 to v0.36.1
  • Update k8s.io/client-go dependency from v0.35.1 to v0.36.1
go.mod
Upgrade indirect Kubernetes-related dependencies to v0.36.1 and clean up no-longer-needed indirect modules.
  • Update k8s.io/apiserver, k8s.io/cli-runtime, k8s.io/component-base, and k8s.io/kubectl indirect dependencies from v0.35.1 to v0.36.1
  • Remove unused indirect dependency github.com/google/go-cmp
  • Remove unused indirect dependency github.com/gregjones/httpcache
  • Refresh go.sum entries to reflect the new dependency graph
go.mod
go.sum

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey - I've found 2 issues, and left some high level feedback:

  • Since the Go version is bumped to 1.26.0 in go.mod, ensure any build/CI tooling (Docker images, GitHub Actions, Makefiles, etc.) is also updated to use Go 1.26 to avoid version mismatches.
  • You updated the Kubernetes libraries to v0.36.1 but controller-runtime is still on v0.23.3; consider aligning controller-runtime to a version known to target the same Kubernetes minor to reduce the risk of subtle API incompatibilities.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Since the Go version is bumped to 1.26.0 in go.mod, ensure any build/CI tooling (Docker images, GitHub Actions, Makefiles, etc.) is also updated to use Go 1.26 to avoid version mismatches.
- You updated the Kubernetes libraries to v0.36.1 but controller-runtime is still on v0.23.3; consider aligning controller-runtime to a version known to target the same Kubernetes minor to reduce the risk of subtle API incompatibilities.

## Individual Comments

### Comment 1
<location path="go.mod" line_range="3" />
<code_context>
 module github.com/trustification/trusted-profile-analyzer-operator

-go 1.25.0
+go 1.26.0

 require (
</code_context>
<issue_to_address>
**issue (bug_risk):** Using a future Go version may cause build issues with current tooling.

The `go 1.26.0` directive requires a Go 1.26 toolchain, which is not yet released and can break builds/CI for consumers. Unless you explicitly depend on unreleased features, please use the latest stable version you actually need (e.g. `go 1.22`) and omit the patch (`go 1.22` instead of `go 1.22.0`) for flexibility.
</issue_to_address>

### Comment 2
<location path="go.mod" line_range="13" />
<code_context>
-	k8s.io/apiextensions-apiserver v0.35.1
-	k8s.io/apimachinery v0.35.1
-	k8s.io/client-go v0.35.1
+	k8s.io/api v0.36.1
+	k8s.io/apiextensions-apiserver v0.36.1
+	k8s.io/apimachinery v0.36.1
+	k8s.io/client-go v0.36.1
 	sigs.k8s.io/controller-runtime v0.23.3
 )

</code_context>
<issue_to_address>
**suggestion (bug_risk):** Kubernetes library versions and controller-runtime may be out of sync.

Core k8s libs are now at `v0.36.1` while `controller-runtime` remains at `v0.23.3`. Please check the controller-runtime compatibility matrix for k8s `v0.36.x` and either upgrade controller-runtime to the matching version or document that this specific combination is supported.

```suggestion
	// NOTE: controller-runtime v0.23.3 is verified to be compatible with k8s.io/* v0.36.x.
	// See: https://github.com/kubernetes-sigs/controller-runtime#compatibility-matrix
	sigs.k8s.io/controller-runtime v0.23.3
```
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread go.mod
@@ -1,15 +1,15 @@
module github.com/trustification/trusted-profile-analyzer-operator

go 1.25.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

issue (bug_risk): Using a future Go version may cause build issues with current tooling.

The go 1.26.0 directive requires a Go 1.26 toolchain, which is not yet released and can break builds/CI for consumers. Unless you explicitly depend on unreleased features, please use the latest stable version you actually need (e.g. go 1.22) and omit the patch (go 1.22 instead of go 1.22.0) for flexibility.

Comment thread go.mod
k8s.io/apiextensions-apiserver v0.36.1
k8s.io/apimachinery v0.36.1
k8s.io/client-go v0.36.1
sigs.k8s.io/controller-runtime v0.23.3
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

suggestion (bug_risk): Kubernetes library versions and controller-runtime may be out of sync.

Core k8s libs are now at v0.36.1 while controller-runtime remains at v0.23.3. Please check the controller-runtime compatibility matrix for k8s v0.36.x and either upgrade controller-runtime to the matching version or document that this specific combination is supported.

Suggested change
sigs.k8s.io/controller-runtime v0.23.3
// NOTE: controller-runtime v0.23.3 is verified to be compatible with k8s.io/* v0.36.x.
// See: https://github.com/kubernetes-sigs/controller-runtime#compatibility-matrix
sigs.k8s.io/controller-runtime v0.23.3

@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/release/2.y.z/kubernetes-go branch 4 times, most recently from f06693b to 790bf9b Compare May 21, 2026 10:58
@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/release/2.y.z/kubernetes-go branch from 790bf9b to 5cd9f61 Compare May 25, 2026 15:28
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/release/2.y.z/kubernetes-go branch from 5cd9f61 to 91b1bd4 Compare May 29, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants