Skip to content

WTO-615: Add arm64 (aarch64) support to operator metadata and local build - #208

Merged
dkwon17 merged 1 commit into
redhat-developer:mainfrom
btjd:wto-615-arm64-support
Nov 13, 2026
Merged

dkwon17 merged 1 commit into
redhat-developer:mainfrom
btjd:wto-615-arm64-support

Conversation

@btjd

@btjd btjd commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

What

Adds the upstream pieces of arm64 (aarch64) enablement for the Web Terminal Operator:

  • CSV arch labels — add operatorframework.io/arch.amd64, operatorframework.io/arch.arm64, and operatorframework.io/os.linux (all supported) to metadata.labels in the ClusterServiceVersion, so OLM advertises multi-arch support. These propagate downstream via the operator-metadata submodule sync.
  • Unpin local build arch — remove the hardcoded --platform=linux/amd64 from the build_controller_image target in controller.mk so local/manual image builds honor the target architecture. The Go build is already arch-clean (GOARCH, CGO_ENABLED=0).

Why

Part of the HPBU arm64 mandate (HPSTRAT-705 / OCPSTRAT-3873): every applicable operator and its operands must ship amd64 + aarch64 and run on Graviton-only ROSA HCP.

Scope / notes

  • This PR is the upstream, code-level change only. The productized multi-arch build pipeline changes (operator/exec/tooling manifest-list builds and the v5.0 FBC) land in the downstream web-terminal-operator repo.
  • No behavior change for amd64; the operator binary build was already architecture-parameterized.

Testing

  • CSV and controller.mk validated locally; no functional change to the amd64 path.
  • Multi-arch build validation will occur via the downstream Konflux pipelines.

Refs: WTO-615, OCPSTRAT-3873, HPSTRAT-705

🤖 Generated with Claude Code

…uild

- Add OLM arch labels (arch.amd64, arch.arm64, os.linux) to the CSV so OLM
  advertises multi-arch support; these propagate downstream via the
  operator-metadata submodule sync.
- Remove the hardcoded --platform=linux/amd64 from build_controller_image so
  local/manual image builds honor the target architecture. The Go build is
  already arch-clean (GOARCH, CGO_ENABLED=0).

Refs: WTO-615, OCPSTRAT-3873, HPSTRAT-705

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Badre Tejado-Imam <btejado@redhat.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.78%. Comparing base (22d15fc) to head (afff512).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #208   +/-   ##
=======================================
  Coverage   55.78%   55.78%           
=======================================
  Files           5        5           
  Lines         346      346           
=======================================
  Hits          193      193           
  Misses        151      151           
  Partials        2        2           
Flag Coverage Δ
unit-tests 55.78% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@btjd

btjd commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator Author

Part of the WTO-615 arm64 set (downstream GitLab MRs):

@dkwon17
dkwon17 merged commit 8ffcb5e into redhat-developer:main Nov 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants