Skip to content

Commit 5ab064c

Browse files
chengfangclaude
andcommitted
chore(build): upgrade controller-tools to v0.19.0 for Go 1.25 compatibility
Upgrades controller-tools from v0.16.1 to v0.19.0 to fix CI build failures with Go 1.25. The older version depended on golang.org/x/tools v0.24.0 which is incompatible with Go 1.25 and caused compilation errors: invalid array length -delta * delta (constant -256 of type int64) The new version uses golang.org/x/tools v0.36.0 which is fully compatible with Go 1.25. Related issue: golang/go#74462 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 37af58a commit 5ab064c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint
218218

219219
## Tool Versions
220220
KUSTOMIZE_VERSION ?= v5.4.3
221-
CONTROLLER_TOOLS_VERSION ?= v0.16.1
221+
CONTROLLER_TOOLS_VERSION ?= v0.19.0
222222
ENVTEST_VERSION ?= release-0.19
223223
GOLANGCI_LINT_VERSION ?= v2.5.0
224224

config/crd/bases/argocd-image-updater.argoproj.io_imageupdaters.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.16.1
6+
controller-gen.kubebuilder.io/version: v0.19.0
77
name: imageupdaters.argocd-image-updater.argoproj.io
88
spec:
99
group: argocd-image-updater.argoproj.io

0 commit comments

Comments
 (0)