Skip to content

chore: Add arm64 supported label in CSO CSV [PROJQUAY-9888]#160

Merged
jbpratt merged 1 commit into
quay:masterfrom
dongboyan77:support-arm-on-ui
Mar 9, 2026
Merged

chore: Add arm64 supported label in CSO CSV [PROJQUAY-9888]#160
jbpratt merged 1 commit into
quay:masterfrom
dongboyan77:support-arm-on-ui

Conversation

@dongboyan77
Copy link
Copy Markdown
Contributor

Add arm64 supported label in CSV, then openshift UI could display operator info

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 9, 2026

Walkthrough

Adds arm64 architecture support metadata to the ClusterServiceVersion manifest by including operatorframework.io/arch.arm64: supported annotations and labels for the container security operator.

Changes

Cohort / File(s) Summary
Architecture Support Metadata
bundle/manifests/container-security-operator.clusterserviceversion.yaml
Adds arm64 architecture support declarations to metadata annotations and labels.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
bundle/manifests/container-security-operator.clusterserviceversion.yaml (1)

22-27: ⚠️ Potential issue | 🔴 Critical

CRITICAL: arm64 label added without corresponding image support.

The operatorframework.io/arch.arm64: supported label is correctly formatted and follows the existing pattern, but there's a critical mismatch: the container images are not being built for arm64.

The build script at lines 64 and 87 explicitly limits the build platform to linux/amd64,linux/s390x,linux/ppc64le only. No arm64 images are being built or published. This means the operator will fail to schedule on arm64 nodes with a pull error.

Either add arm64 to the build platforms in hack/build.sh (lines 64 and 87), or remove the arm64 label from the CSV. Do not claim architecture support without building images for that architecture.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@bundle/manifests/container-security-operator.clusterserviceversion.yaml`
around lines 22 - 27, The CSV declares operatorframework.io/arch.arm64:
supported but the build script hack/build.sh only builds images for
linux/amd64,linux/s390x,linux/ppc64le; fix by either adding linux/arm64 to the
platforms variable/flags used by the image build/push steps in hack/build.sh
(the PLATFORMS or docker buildx --platform setting used for image builds) so
arm64 images are produced and published, or remove the
operatorframework.io/arch.arm64: supported label from
container-security-operator.clusterserviceversion.yaml so the CSV no longer
claims arm64 support.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@bundle/manifests/container-security-operator.clusterserviceversion.yaml`:
- Around line 22-27: The CSV declares operatorframework.io/arch.arm64: supported
but the build script hack/build.sh only builds images for
linux/amd64,linux/s390x,linux/ppc64le; fix by either adding linux/arm64 to the
platforms variable/flags used by the image build/push steps in hack/build.sh
(the PLATFORMS or docker buildx --platform setting used for image builds) so
arm64 images are produced and published, or remove the
operatorframework.io/arch.arm64: supported label from
container-security-operator.clusterserviceversion.yaml so the CSV no longer
claims arm64 support.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: fbbbede7-a1c3-429e-96d1-280678c7743e

📥 Commits

Reviewing files that changed from the base of the PR and between ad39cff and d36600d.

📒 Files selected for processing (1)
  • bundle/manifests/container-security-operator.clusterserviceversion.yaml
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Tests

@jbpratt jbpratt merged commit 8806d68 into quay:master Mar 9, 2026
4 checks passed
@dongboyan77
Copy link
Copy Markdown
Contributor Author

/cherrypick redhat-3.17

@openshift-cherrypick-robot
Copy link
Copy Markdown

@dongboyan77: new pull request created: #161

Details

In response to this:

/cherrypick redhat-3.17

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants