chore: bump operator-sdk and related tools versions and fix the issues reported - #2060
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR TypeEnhancement, Bug fix Description
|
| Relevant files | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Formatting | 58 files
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Enhancement | 2 files
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bug fix | 2 files
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Dependencies | 2 files
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Configuration changes | 17 files
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Documentation | 1 files
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional files |
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||||||||||
…r-upgrade-operator-sdk-version
|
|
…nd test deps - operator-sdk: v1.42.0 -> v1.42.2 - controller-runtime: v0.19.4 -> v0.21.0 - k8s.io/* replace directives: v0.31.3 -> v0.33.0 (matching CR v0.21.0) - kube-openapi replace: updated to match k8s.io v0.33.0 - ginkgo: v2.27.3 -> v2.28.1 - gomega: v1.38.3 -> v1.39.1 No code changes needed — the project uses no deprecated/removed APIs from controller-runtime v0.20-v0.21 (no webhooks, no SyncPeriod, no Result.Requeue). The cmd/main.go already matched the v1.42.2 scaffold. Assisted-by: Claude <noreply@anthropic.com>
- OPM: v1.55.0 -> v1.72.0 - Kustomize: v5.4.3 -> v5.8.1 - controller-tools: v0.20.0 -> v0.21.0 - golangci-lint: v2.6.2 -> v2.12.2 - goimports: v0.40.0 -> v0.46.0 - gosec: v2.22.11 -> v2.27.1 Assisted-by: Claude <noreply@anthropic.com>
- OPM: v1.55.0 -> v1.72.0 - Kustomize: v5.4.3 -> v5.8.1 - golangci-lint: v2.6.2 -> v2.12.2 - goimports: v0.40.0 -> v0.46.0 - gosec: v2.22.11 -> v2.27.1 controller-tools kept at v0.20.0 — v0.21.0 requires Go 1.26 (RHIDP-12020). Assisted-by: Claude <noreply@anthropic.com>
| - unconvert | ||
| - unused | ||
| # TODO(asoro): Enable these linters from the operator-sdk scaffold once the | ||
| # existing violations are fixed. Tracked as tech debt. |
There was a problem hiding this comment.
Tracked as follow-up tech debt issue in https://redhat.atlassian.net/browse/RHDHBUGS-3358
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 5aed707 |
Fortune-Ndlovu
left a comment
There was a problem hiding this comment.
Thanks for pushing the PR, it works as expected, added a few comments/nitpicks!
…r-upgrade-operator-sdk-version
The regex was changed from [1-2] to [1-9]+ which excluded all v1alpha versions including active ones (v1alpha4-5). Tighten to [1-3] to match only the unserved API versions. Assisted-by: Claude
…r-upgrade-operator-sdk-version
Now that Go 1.26 is available, bump controller-tools from v0.20.0 to v0.21.0 and regenerate CRDs, bundle manifests, and dist artifacts. Assisted-by: Claude
41ea0a4
into
redhat-developer:main
|



Description
Bumps the version of the operator-sdk, which requires updating the linter configuration (and fixing the issues reported).
Which issue(s) does this PR fix or relate to
PR acceptance criteria
How to test changes / Special notes to the reviewer