Repository navigation
Conversation
Remove the separate Bingo pin and use the Go tool directive for generation. Regenerate apply configurations with controller-gen v0.23.0. Signed-off-by: Todd Short <tshort@redhat.com>
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Manage controller-gen through Go tooling go.mod, Makefile, .bingo/Variables.mk, .bingo/controller-gen.mod, .bingo/variables.env, AGENTS.md |
go.mod declares controller-gen as a tool, and the Makefile invokes it with go tool. The previous .bingo binary configuration is removed. AGENTS.md identifies the Go tool directive as its manager. |
Update generated apply configurations applyconfigurations/api/v1/clustercatalog.go, applyconfigurations/api/v1/clusterextension.go, applyconfigurations/api/v1/clusterobjectdeployment.go, applyconfigurations/api/v1/clusterobjectset.go |
The generated headers omit the controller-gen version suffix. Each TypeMetaApplyConfiguration JSON tag changes from json:",inline" to json:"". |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Other
Possibly related PRs
- operator-framework/operator-controller#3075: Updates the controller-tools version in
go.mod, sharing the Go-tool-managed controller-gen version contract. - operator-framework/operator-controller#2977: Updates the controller-tools version in
go.modand generated CRD annotations as part of the controller-gen version migration.
Suggested reviewers: joelanford, grokspawn, fgiudici
Merge Risk: 
Minimal · up to 4f01c
-
The controller-gen migration is ready to merge with no identified merge-blocking risk.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 4 files. (3 skipped: 3 unsupported.)
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
|
It's worth emphasizing here that this switches the paradigm from |
Yes, at this time, we're switching both at the same time. Did you want two separate PRs? |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: rashmigottipati The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Summary
go toolat the controller-tools v0.23.0 version already required by go.mod.Generated output
The four top-level apply configuration types now use
json:""for embedded TypeMeta, as emitted by v0.23.0. CRD schemas and release manifests are unchanged.Verification
make generate manifestsgo test ./api/v1/... ./applyconfigurations/...with the installed envtest binariesmake verifySummary by CodeRabbit
Bug Fixes
Chores