You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Upgrade to Kubernetes 0.37 libraries and controller-runtime 0.25 #1146
Deliverable: Galactic builds and passes CI on Kubernetes 0.37 libraries and controller-runtime 0.25.
The instrumentation library requires these versions as a minimum, so Galactic can't import it until it has upgraded. The upgrade is worth doing on its own, and is tracked here only because it blocks the rest of the epic.
Work items:
Upgrade the Kubernetes and controller-runtime modules, and the libraries that move with them.
Regenerate generated code and manifests through the project targets.
Fix any API changes in reconcilers, webhooks, and the bare-client binaries.
Dependencies: none.
Acceptance: Lint, build, unit and end-to-end suites pass on the new versions. The lab comes up and its verification checks pass, with no change in reconciler behavior.
Verdict: valid. On main at 69640a5, go.mod pins k8s.io/* v0.36.x and sigs.k8s.io/controller-runtime v0.24.1, below the minimum the instrumentation library needs. examples/edge-provider pins the same versions.
Trial upgrade (scratch worktree, same revision): moved k8s.io/{api,apimachinery,client-go,apiextensions-apiserver,cri-api} to v0.37.1 and controller-runtime to v0.25.2, then ran go mod tidy in the root module and both example modules.
go build ./... and go vet ./... pass with no source changes. Every manager already calls the GetEventRecorder API, which is the only breaking API change in controller-runtime 0.25 that touches Galactic.
golangci-lint reports no issues in the root module or either example module.
go test -race ./api/... ./cmd/... ./internal/... passes, as do task test:edge-provider and task test:looking-glass-client.
task generate:crd with controller-gen v0.23.0 (the release built on k8s.io/* v0.37) leaves every CRD schema and deepcopy file unchanged. Only the controller-gen.kubebuilder.io/version annotation moves.
Move k8s.io/{api,apimachinery,client-go,apiextensions-apiserver,cri-api} to v0.37.1 and sigs.k8s.io/controller-runtime to v0.25.2 in the root module and examples/edge-provider, then run go mod tidy in all three modules.
Regenerate CRDs and deepcopy code with task generate:crd using controller-gen v0.23.0. Only the generator-version annotation changes.
No Go source changes.
Tests: lint, build, the race-enabled unit suite and both example-module test tasks pass locally. CI runs the e2e suite on the PR.
Risk: reconciler behavior should not change. The controller-runtime 0.25 breaking changes are the k8s.io bump and the new event recorder interface, which Galactic already uses. The lab check from the acceptance criteria runs after the PR opens and is tracked here until then.
Activity
privateip commentedon Oct 28, 2026
Verdict: valid. On
mainat 69640a5,go.modpinsk8s.io/*v0.36.x andsigs.k8s.io/controller-runtimev0.24.1, below the minimum the instrumentation library needs.examples/edge-providerpins the same versions.Trial upgrade (scratch worktree, same revision): moved
k8s.io/{api,apimachinery,client-go,apiextensions-apiserver,cri-api}to v0.37.1 andcontroller-runtimeto v0.25.2, then rango mod tidyin the root module and both example modules.go build ./...andgo vet ./...pass with no source changes. Every manager already calls theGetEventRecorderAPI, which is the only breaking API change in controller-runtime 0.25 that touches Galactic.golangci-lintreports no issues in the root module or either example module.go test -race ./api/... ./cmd/... ./internal/...passes, as dotask test:edge-providerandtask test:looking-glass-client.task generate:crdwith controller-gen v0.23.0 (the release built onk8s.io/*v0.37) leaves every CRD schema and deepcopy file unchanged. Only thecontroller-gen.kubebuilder.io/versionannotation moves.privateip commentedon Oct 28, 2026
Approved plan (branch
fix/issue-1146):k8s.io/{api,apimachinery,client-go,apiextensions-apiserver,cri-api}to v0.37.1 andsigs.k8s.io/controller-runtimeto v0.25.2 in the root module andexamples/edge-provider, then rungo mod tidyin all three modules.task generate:crdusing controller-gen v0.23.0. Only the generator-version annotation changes.Tests: lint, build, the race-enabled unit suite and both example-module test tasks pass locally. CI runs the e2e suite on the PR.
Risk: reconciler behavior should not change. The controller-runtime 0.25 breaking changes are the
k8s.iobump and the new event recorder interface, which Galactic already uses. The lab check from the acceptance criteria runs after the PR opens and is tracked here until then.