Skip to content

🌱 OPRUN-4774: Build and package the standalone object-controller - #2948

Draft
fao89 wants to merge 3 commits into
operator-framework:mainfrom
fao89:OPRUN-4774
Draft

fao89 wants to merge 3 commits into
operator-framework:mainfrom
fao89:OPRUN-4774

Conversation

@fao89

@fao89 fao89 commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Description

Build and package the standalone object-controller introduced by #2947. The Makefile now builds its binary for the local platform and Linux, builds and loads its container image alongside operator-controller and catalogd, and passes its image repository to GoReleaser. GoReleaser includes the binary and container image for amd64, arm64, ppc64le, and s390x.

This is OPRUN-4774, a subtask of OPRUN-4738. It depends on #2947, which depends on #2946. These smaller PRs replace the broad review in #2938. Deployment activation and install helpers follow in OPRUN-4775.

The PR targets main, so its file list includes prerequisite commits until those PRs merge. Review this PR's three-file delta on the fork.

Validation

  • make go-build-local built operator-controller, catalogd, and object-controller.
  • make docker-build IMAGE_TAG=oprun-4774-review built the three Linux binaries and images; the manifest policy checks passed.
  • The object-controller image ran successfully with --help.
  • GoReleaser check and make verify passed. The non-amd64 images were validated through configuration, not built locally.

Reviewer Checklist

  • API Go Documentation (no API definitions changed in this slice)
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

Always review AI generated responses prior to use.
AI-assisted response via openshift-developer plugin

Phase 1/7 of OPRUN-4738: remove object-controller's dependency on
operator-controller's internal metadata package.

Move the label constants into internal/shared/labels and update imports
in both controllers and their tests. Generalize the object-controller
comments to describe owners rather than ClusterExtensions.

Review focus: the package move and mechanical import changes. Metadata
keys and reconciliation behavior are unchanged. No generated files.

Refs: OPRUN-4738
Signed-off-by: Fabricio Aguiar <fabricio.aguiar@gmail.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Add a dedicated manager with a ClusterObjectSet-only scheme and regression coverage. Reuse referenced Secret reads within each reconciliation, retry transient read failures, and show numeric revision status when no bundle version is present.

Signed-off-by: Fabricio Aguiar <fabricio.aguiar@gmail.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Add object-controller to local and Linux builds, Docker image creation, KIND loading, and multi-architecture GoReleaser output.

Refs: OPRUN-4774
Signed-off-by: Fabricio Aguiar <fabricio.aguiar@gmail.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 24, 2026
@openshift-ci

openshift-ci Bot commented Sep 24, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign tmshort for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai

coderabbitai Bot commented Sep 24, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@netlify

netlify Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit af4aee3
🔍 Latest deploy log https://app.netlify.com/projects/olmv1/deploys/6ab54b18a34e4a00088007aa
😎 Deploy Preview https://deploy-preview-2948--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant