Skip to content

chore(deps): update go modules and fix k8s version mismatches#2013

Open
onuryilmaz wants to merge 3 commits into
mainfrom
go-replace
Open

chore(deps): update go modules and fix k8s version mismatches#2013
onuryilmaz wants to merge 3 commits into
mainfrom
go-replace

Conversation

@onuryilmaz
Copy link
Copy Markdown
Contributor

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.

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>
Copilot AI review requested due to automatic review settings May 21, 2026 12:27
@onuryilmaz onuryilmaz requested a review from a team as a code owner May 21, 2026 12:27
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.1 and sigs.k8s.io/controller-runtime to v0.24.1.
  • Update Flux-related dependencies (including moving github.com/fluxcd/cli-utils to v1.2.1) and other direct/indirect modules.
  • Regenerate go.sum accordingly.

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.

Comment thread go.mod
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.
@onuryilmaz
Copy link
Copy Markdown
Contributor Author

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants