chore(deps): update go modules and fix k8s version mismatches#2013
Open
onuryilmaz wants to merge 3 commits into
Open
chore(deps): update go modules and fix k8s version mismatches#2013onuryilmaz wants to merge 3 commits into
onuryilmaz wants to merge 3 commits into
Conversation
Align k8s.io/cli-runtime and k8s.io/kubectl from v0.35.1 to v0.36.1 to match the rest of the k8s ecosystem and fix missing scheduling/v1alpha1 package. Upgrade controller-runtime to v0.24.1 for client-go v0.36.x compatibility. Update remaining direct and indirect dependencies to latest. Signed-off-by: onuryilmaz <onur.yilmaz@sap.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Go module dependencies to align the Kubernetes dependency set (notably k8s.io/cli-runtime, k8s.io/kubectl, client-go, and controller-runtime) and refreshes related indirect dependencies, aiming to resolve version mismatches in the k8s ecosystem.
Changes:
- Bump Kubernetes-related modules to
v0.36.1andsigs.k8s.io/controller-runtimetov0.24.1. - Update Flux-related dependencies (including moving
github.com/fluxcd/cli-utilstov1.2.1) and other direct/indirect modules. - Regenerate
go.sumaccordingly.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| go.mod | Updates pinned dependency versions (k8s/controller-runtime/Flux/etc.) and removes now-unneeded replace directives. |
| go.sum | Records the resulting checksum updates for the new dependency graph. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The deprecation message says the issue is about api packages having minimal dependencies, but this codebase already imports controller-runtime, so the concern doesn't apply.
Contributor
Author
|
related to flux update
|
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.
Align k8s.io/cli-runtime and k8s.io/kubectl from v0.35.1 to v0.36.1 to match the rest of the k8s ecosystem and fix missing scheduling/v1alpha1 package. Upgrade controller-runtime to v0.24.1 for client-go v0.36.x compatibility. Update remaining direct and indirect dependencies to latest.