Upgrade Go to 1.26, Kubernetes to 1.36, kstatus to 1.1#32078
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the project’s Go toolchain baseline and refreshes Kubernetes-related (and other) module dependencies to newer versions.
Changes:
- Bump
godirective to Go 1.26.0. - Upgrade Kubernetes-related Go modules to v0.36.0 (partial) and refresh other dependency versions (e.g.,
fluxcd/cli-utils,go-restful,zap). - Update
go.sumto match the new resolved dependency graph.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| go.mod | Updates Go version and bumps multiple direct/indirect dependencies, including Kubernetes libraries. |
| go.sum | Reflects the new module versions and checksum set after dependency upgrades. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
1199d04 to
e85b6b2
Compare
e85b6b2 to
23a8b79
Compare
There was a problem hiding this comment.
Pull request overview
Updates the repository’s Go toolchain and Kubernetes dependency set to newer minor versions, aligning CI configuration with the module’s required Go version.
Changes:
- Bump
godirective to Go 1.26.0 and update CI Go version to 1.26. - Upgrade Kubernetes libraries from
k8s.io/* v0.35.4tov0.36.0(and related transitive deps). - Refresh module sums for the updated dependency graph.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
go.mod |
Bumps Go version and upgrades Kubernetes + a few related dependencies. |
go.sum |
Updates checksums to match the new resolved module graph. |
.github/env |
Updates CI environment Go version to 1.26. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
23a8b79 to
fc1674e
Compare
fc1674e to
f163ba5
Compare
There was a problem hiding this comment.
Pull request overview
Updates the project toolchain and Kubernetes-related dependencies to newer major/minor versions, and adjusts lint/test fixtures to match the updated Kubernetes deprecation detection behavior.
Changes:
- Bump Go toolchain requirement to 1.26 and update CI Go version accordingly.
- Upgrade Kubernetes libraries to v0.36.0 (Kubernetes 1.36) and adjust linting name-validation import usage.
- Refresh lint deprecation test chart/fixtures and stabilize a kube client test assertion.
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pkg/kube/client_test.go | Normalizes PodList.ResourceVersion in TestGetPodList to keep assertions stable with newer client-go behavior. |
| pkg/cmd/testdata/testcharts/chart-with-deprecated-api/templates/poddisruptionbudget.yaml | Adds a chart template using a deprecated API version to exercise deprecation linting. |
| pkg/cmd/testdata/testcharts/chart-with-deprecated-api/templates/horizontalpodautoscaler.yaml | Removes the previous deprecated HPA fixture. |
| pkg/cmd/testdata/output/lint-chart-with-deprecated-api.txt | Updates golden output to match the new deprecated API fixture and warning text. |
| pkg/cmd/testdata/output/lint-chart-with-deprecated-api-strict.txt | Updates strict-mode golden output to match the new deprecated API fixture and warning text. |
| pkg/cmd/lint_test.go | Adjusts kube-version test case to use 1.20.0 so the deprecated API is not flagged for that version. |
| pkg/chart/v2/lint/rules/template.go | Switches RBAC name validation helper from api/validation/path to api/validate/content to match updated k8s/apimachinery. |
| internal/chart/v3/lint/rules/template.go | Same validation helper import/function update for internal v3 chart linter. |
| go.mod | Bumps go directive to 1.26.0 and upgrades k8s modules to v0.36.0 (plus related deps). |
| go.sum | Updates sums for upgraded dependencies. |
| .github/env | Updates CI Go version to 1.26. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Matheus Pimenta <[email protected]>
f163ba5 to
a4a9cc7
Compare
Resolves conflicts introduced by upstream's PostRenderStrategy work (helm#32049) and Go 1.26 / Kubernetes 1.36 / kstatus 1.1 bump (helm#32078) against the HIP-0025 sequencing changes. Conflict resolution: - pkg/action/action.go: combined upstream's three-way post-render strategy switch with the renderResources/renderResourcesWithFiles split from this branch; all error returns from renderResourcesWithFiles updated to the 5-tuple shape. - pkg/action/install.go: thread PostRenderStrategy through both the ordered-wait (renderResourcesWithFiles) and standard (renderResources) render paths. - pkg/action/upgrade.go: same thread-through, plus restore the 5-tuple cerr return. - pkg/action/uninstall.go: pass PostRenderStrategyCombined to the recovery path that re-renders manifests for sequenced uninstall. Also: - gofmt fixes for pkg/kube/readiness.go (strconv import indent; flagged by Copilot review) and pkg/action/rollback.go (struct field alignment). - Add post-rewrite contract tests for BuildSubchartDAG covering metadata-only-with-no-loaded-deps and annotation-references- unloaded-dep cases (locks in joejulian's review feedback). - .gitignore: ignore .mission/ tooling directory.
Helm now requires Go 1.26 (#32078); the cloner[T] type-assertion fallback in transport.go was a defensive shim for Go versions before http.Transport.Clone() existed. The fallback path is unreachable on supported Go versions. Refs: #31386 Signed-off-by: Ogulcan Aydogan <[email protected]>
There's a few breaking changes that Dependabot cannot help with.