Dependabot/go modules/operator/actions deps 810a4913a7#193
Closed
kezhenxu94 wants to merge 2 commits into
Closed
Conversation
Bumps the actions-deps group with 3 updates in the /operator directory: [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery), [k8s.io/client-go](https://github.com/kubernetes/client-go) and [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime). Updates `k8s.io/apimachinery` from 0.35.4 to 0.36.0 - [Commits](kubernetes/apimachinery@v0.35.4...v0.36.0) Updates `k8s.io/client-go` from 0.35.4 to 0.36.0 - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md) - [Commits](kubernetes/client-go@v0.35.4...v0.36.0) Updates `sigs.k8s.io/controller-runtime` from 0.23.3 to 0.24.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.23.3...v0.24.0) --- updated-dependencies: - dependency-name: k8s.io/apimachinery dependency-version: 0.36.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-deps - dependency-name: k8s.io/client-go dependency-version: 0.36.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-deps - dependency-name: sigs.k8s.io/controller-runtime dependency-version: 0.24.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-deps ... Signed-off-by: dependabot[bot] <support@github.com>
- Bump CI Go version from 1.25.9 to 1.26, matching the go directive in operator/go.mod which was updated to go 1.26.0 by the dependency bump. - Replace the deprecated sigs.k8s.io/controller-runtime/pkg/scheme.Builder with a local groupVersionSchemeBuilder backed by k8s.io/apimachinery's runtime.SchemeBuilder, fixing the SA1019 staticcheck failure introduced by the controller-runtime v0.24.0 upgrade.
There was a problem hiding this comment.
Pull request overview
Updates the operator module’s Go toolchain and Kubernetes/controller-runtime dependencies, and adjusts API scheme registration to avoid a deprecated controller-runtime scheme helper.
Changes:
- Bump operator Go toolchain version and refresh Go module dependencies (Kubernetes libs, controller-runtime, and various indirect deps).
- Update CI workflow to install Go 1.26 across all Go jobs.
- Replace use of
sigs.k8s.io/controller-runtime/pkg/schemein API package with a local scheme builder backed byk8s.io/apimachinery/pkg/runtime.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
operator/go.mod |
Updates Go version and dependency versions for the operator module. |
operator/go.sum |
Syncs module checksums to match updated dependencies. |
operator/apis/operator/v1alpha1/groupversion_info.go |
Switches scheme registration to a local builder using apimachinery runtime (avoids controller-runtime scheme package). |
.github/workflows/go.yml |
Updates CI to use Go 1.26. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.