Skip to content

chore: upgrade controller-gen to v0.20.1#350

Merged
tmablunar merged 3 commits intomasterfrom
chore/upgrade-controller-gen
Apr 8, 2026
Merged

chore: upgrade controller-gen to v0.20.1#350
tmablunar merged 3 commits intomasterfrom
chore/upgrade-controller-gen

Conversation

@tmablunar
Copy link
Copy Markdown
Contributor

@tmablunar tmablunar commented Apr 8, 2026

Summary

  • Upgrades controller-gen from v0.14.0 to v0.20.1 — v0.14.0 fails to compile with Go 1.26 due to a golang.org/x/tools incompatibility
  • Regenerates CRD manifests and RBAC with the new binary

Test plan

  • Existing tests pass
  • CRD YAMLs are valid (only version annotation and minor formatting changed)

🤖 Generated with Claude Code


Note

Medium Risk
Medium risk because regenerated CRD/RBAC manifests can subtly change schema or permissions and may affect controller deployment/upgrade behavior, though the code logic itself is unchanged.

Overview
Toolchain update: CI now builds/tests with Go 1.26.0, and the Makefile bumps controller-gen from v0.14.0 to v0.20.1.

Generated manifests refreshed: Regenerates CRD YAMLs to reflect the new controller-gen version (annotation/version + minor formatting), and consolidates/updates config/rbac/role.yaml rules (notably grouping resource permissions and explicitly including status subresources for the PostgreSQL CRDs).

Reviewed by Cursor Bugbot for commit 75808df. Bugbot is set up for automated code reviews on this repo. Configure here.

@tmablunar tmablunar requested a review from a team as a code owner April 8, 2026 09:15
@github-actions github-actions bot added the patch label Apr 8, 2026
@tmablunar tmablunar force-pushed the chore/upgrade-controller-gen branch from 49a6717 to 090526f Compare April 8, 2026 09:20
v0.14.0 fails to build with Go 1.26 due to a golang.org/x/tools
incompatibility. v0.20.1 is the latest compatible version.

Regenerated CRD manifests and RBAC with the new binary.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tmablunar tmablunar force-pushed the chore/upgrade-controller-gen branch from 090526f to d343efa Compare April 8, 2026 09:29
tmablunar and others added 2 commits April 8, 2026 11:32
controller-gen v0.20.1 requires Go >= 1.25.0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tmablunar tmablunar requested a review from mahlunar April 8, 2026 11:47
@tmablunar tmablunar merged commit 74a43b1 into master Apr 8, 2026
6 of 8 checks passed
@tmablunar tmablunar deleted the chore/upgrade-controller-gen branch April 8, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants