Skip to content

Bump the k8s-dependencies with additional fixes#1892

Merged
openshift-merge-bot[bot] merged 3 commits intooperator-framework:masterfrom
tmshort:PR-1886
Jan 27, 2026
Merged

Bump the k8s-dependencies with additional fixes#1892
openshift-merge-bot[bot] merged 3 commits intooperator-framework:masterfrom
tmshort:PR-1886

Conversation

@tmshort
Copy link
Copy Markdown
Contributor

@tmshort tmshort commented Jan 27, 2026

Alternative to #1886

Basically PR 1886, with additional fixes:

  • Fix deprecated fake.NewSimpleClientset usage
  • Update containerd registry config to new format

dependabot Bot and others added 3 commits January 23, 2026 02:42
Bumps the k8s-dependencies group with 4 updates in the / directory: [k8s.io/api](https://github.com/kubernetes/api), [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver), [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) and [sigs.k8s.io/kind](https://github.com/kubernetes-sigs/kind).


Updates `k8s.io/api` from 0.34.3 to 0.35.0
- [Commits](kubernetes/api@v0.34.3...v0.35.0)

Updates `k8s.io/apiextensions-apiserver` from 0.34.3 to 0.35.0
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
- [Commits](kubernetes/apiextensions-apiserver@v0.34.3...v0.35.0)

Updates `k8s.io/apimachinery` from 0.34.3 to 0.35.0
- [Commits](kubernetes/apimachinery@v0.34.3...v0.35.0)

Updates `k8s.io/client-go` from 0.34.3 to 0.35.0
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](kubernetes/client-go@v0.34.3...v0.35.0)

Updates `sigs.k8s.io/controller-runtime` from 0.22.4 to 0.23.0
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](kubernetes-sigs/controller-runtime@v0.22.4...v0.23.0)

Updates `sigs.k8s.io/kind` from 0.30.0 to 0.31.0
- [Release notes](https://github.com/kubernetes-sigs/kind/releases)
- [Commits](kubernetes-sigs/kind@v0.30.0...v0.31.0)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-version: 0.35.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/apiextensions-apiserver
  dependency-version: 0.35.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/apimachinery
  dependency-version: 0.35.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/client-go
  dependency-version: 0.35.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: k8s-dependencies
- dependency-name: sigs.k8s.io/controller-runtime
  dependency-version: 0.23.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: k8s-dependencies
- dependency-name: sigs.k8s.io/kind
  dependency-version: 0.31.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: k8s-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Replace deprecated fake.NewSimpleClientset() with fake.NewClientset()
to resolve staticcheck SA1019 warning in configmap tests.

Signed-off-by: Todd Short <todd.short@me.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Replace deprecated registry.mirrors syntax with the new config_path
approach and hosts.toml file configuration. This fixes e2e test
failures with Kubernetes 1.35.0 where the deprecated containerd
configuration causes kubeadm init to fail.

The new approach:
- Sets config_path = "/etc/containerd/certs.d" in containerd config
- Creates hosts.toml files on each node to configure the registry mirror
- Follows the official kind local registry documentation

Fixes compatibility with kind v0.31.0 and Kubernetes v1.35.0.

Signed-off-by: Todd Short <todd.short@me.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 27, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.48%. Comparing base (783862a) to head (432ad70).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1892   +/-   ##
=======================================
  Coverage   57.48%   57.48%           
=======================================
  Files         138      138           
  Lines       13307    13307           
=======================================
  Hits         7649     7649           
  Misses       4476     4476           
  Partials     1182     1182           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tmshort tmshort changed the title WIP: Bump the k8s-dependencie with additional fixes Bump the k8s-dependencie with additional fixes Jan 27, 2026
@openshift-ci openshift-ci Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 27, 2026
@tmshort tmshort changed the title Bump the k8s-dependencie with additional fixes Bump the k8s-dependencies with additional fixes Jan 27, 2026
@tmshort tmshort added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jan 27, 2026
Copy link
Copy Markdown
Member

@anik120 anik120 left a comment

Choose a reason for hiding this comment

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

lgtm except one question

return nil, fmt.Errorf("failed to list kind nodes: %s", err.Error())
}

// Configure registry on each node using the new hosts.toml approach
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why do we need to do this in this PR?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

See commit description: 432ad70

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jan 27, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jan 27, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: grokspawn

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 added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 27, 2026
@openshift-merge-bot openshift-merge-bot Bot merged commit 07c84f1 into operator-framework:master Jan 27, 2026
13 checks passed
@tmshort tmshort deleted the PR-1886 branch January 27, 2026 22:26
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. dependencies Pull requests that update a dependency file go Pull requests that update Go code lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants