Skip to content

Conversation

@michaelgriskified
Copy link
Contributor

@michaelgriskified michaelgriskified commented Jan 18, 2026

Summary

  • Go version: 1.21 → 1.25.0 (required by k8s.io/api v0.35.0)
  • Kubernetes dependencies: k8s.io/api, k8s.io/apimachinery, k8s.io/client-go from v0.29.2 → v0.35.0
  • Controller-runtime: v0.17.3 → v0.19.0 (includes TypedEventHandler generics migration)
  • Istio dependencies: istio.io/api and istio.io/client-go from v1.17.x → v1.24.0
  • Tooling updates: controller-gen v0.16.0, kustomize v5.4.0, kind v0.24.0, istioctl v1.24.0
  • CI matrix: Added k8s 1.35, kept 1.29/1.25, removed 1.21/1.23

Breaking Changes Addressed

  • Updated pkg/watches/enqueue_annotations.go for controller-runtime v0.19 TypedEventHandler generics API
  • Fixed format string warnings in internal/controller/dynamicenv_controller.go for Go 1.25 vet strictness
  • Updated .golangci.yaml to v2 format for newer golangci-lint

Test plan

  • make build passes
  • go test ./... passes
  • golangci-lint run passes
  • make docker-build passes
  • CI pipeline validates against k8s 1.25, 1.29, and 1.35 matrix

🤖 Generated with Claude Code

michaelgriskified and others added 5 commits January 18, 2026 15:20
- Update Go version from 1.21 to 1.25.0 (required by k8s.io/api v0.35.0)
- Upgrade k8s.io/api, k8s.io/apimachinery, k8s.io/client-go from v0.29.2 to v0.35.0
- Upgrade sigs.k8s.io/controller-runtime from v0.17.3 to v0.19.0
- Upgrade istio.io/api and istio.io/client-go from v1.17.x to v1.24.0
- Update controller-gen from v0.9.2 to v0.16.0
- Update kustomize from v3.8.7 to v5.4.0
- Update kind from v0.18.0 to v0.24.0
- Update istioctl from v1.17.2 to v1.24.0
- Update golangci-lint config to v2 format
- Fix TypedEventHandler generics for controller-runtime v0.19
- Fix format string warnings in dynamicenv_controller.go
- Update CI matrix: add k8s 1.35, keep 1.29/1.25, remove 1.21/1.23
- Update Dockerfile to golang:1.25

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Upgrade controller-tools from v0.16.0 to v0.20.0 to fix build failure
in CI. The v0.16.0 version has an incompatible golang.org/x/tools
dependency that fails to compile with Go 1.25.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Upgrade crd-ref-docs from v0.0.9 to v0.2.0 to fix build failure in CI.
The v0.0.9 version has an incompatible golang.org/x/tools dependency
that fails to compile with Go 1.25.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Run `make pre-merge` to regenerate CRD reference documentation and
helm CRD templates with updated controller-gen v0.20.0 output.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update golangci-lint from 1.64.5 to 2.8.0 in .tool-versions
- Exclude QF* and ST* staticcheck rules in .golangci.yaml to maintain
  compatibility with existing code style (these are documentation/style
  suggestions, not errors)

golangci-lint v1.x was built with Go 1.24 which cannot lint Go 1.25 code.
v2.4.0+ supports Go 1.25.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@michaelgriskified michaelgriskified merged commit cec0f94 into main Jan 26, 2026
5 checks passed
@michaelgriskified michaelgriskified deleted the DEV-123208-k8s-135-compatibility branch January 26, 2026 12:27
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.

4 participants