Repository navigation
build(deps): update Go module dependencies - #4
Merged
Merged
Conversation
Run go get -u and go mod tidy. Raises the minimum Go version to 1.26, which client-go, apimachinery and api v0.37 require. kube-openapi is held at the version those modules expect, because the newest one pulls in a structured-merge-diff major that apimachinery does not build against.
v2.1.2 was built with Go 1.24 and refuses to load a module that targets Go 1.26. Fix the QF1012 finding the newer linter reports in buildKustomizationYAML.
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.
Runs
go get -uandgo mod tidyahead of tagging v0.1.0.Changes
client-go,apimachineryandapifrom 0.32.3 to 0.37.1.go.mod.k8s.io/kube-openapiatv0.0.0-20260721132016-d427ff9ee9ad, the version the Kubernetes modules expect. The newest version pulls in a structured-merge-diff major thatapimachinerydoes not build against, so a plaingo get -ubreaks the build.Verification
go build,go vetandgo test ./...pass locally.govulncheck ./...reports no vulnerabilities in code the binary calls.golangci-lintreports one existing issue inhelpers/kustomization.go(QF1012), unrelated to this change.