Skip to content

build(deps): update Go module dependencies - #4

Merged
cardoe merged 2 commits into
mainfrom
chore/update-deps
Oct 27, 2026
Merged

cardoe merged 2 commits into
mainfrom
chore/update-deps

Conversation

@cardoe

@cardoe cardoe commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Runs go get -u and go mod tidy ahead of tagging v0.1.0.

Changes

  • Updates all direct and indirect Go modules, including Kubernetes client-go, apimachinery and api from 0.32.3 to 0.37.1.
  • Raises the minimum Go version from 1.24 to 1.26, which the Kubernetes 0.37 modules require. The README is updated to match; CI follows go.mod.
  • Holds k8s.io/kube-openapi at v0.0.0-20260721132016-d427ff9ee9ad, the version the Kubernetes modules expect. The newest version pulls in a structured-merge-diff major that apimachinery does not build against, so a plain go get -u breaks the build.

Verification

  • go build, go vet and go test ./... pass locally.
  • govulncheck ./... reports no vulnerabilities in code the binary calls.
  • golangci-lint reports one existing issue in helpers/kustomization.go (QF1012), unrelated to this change.

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.
@cardoe
cardoe merged commit 8261c9a into main Oct 27, 2026
8 checks passed
@cardoe
cardoe deleted the chore/update-deps branch October 27, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant