Skip to content

Set bluefield-ocp container registry address#72

Draft
eelgaev wants to merge 1 commit intorh-ecosystem-edge:mainfrom
eelgaev:bluefield-ocp-repo
Draft

Set bluefield-ocp container registry address#72
eelgaev wants to merge 1 commit intorh-ecosystem-edge:mainfrom
eelgaev:bluefield-ocp-repo

Conversation

@eelgaev
Copy link
Copy Markdown
Member

@eelgaev eelgaev commented Apr 14, 2026

Summary by CodeRabbit

  • Chores
    • Updated default container registry for BlueField OCP layer repository from quay.io/eelgaev/rhcos-bfb to quay.io/edge-infrastructure/bluefield-ocp across configuration, deployment templates, and test environments.

@openshift-ci openshift-ci Bot requested review from linoyaslan and tsorya April 14, 2026 20:37
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 14, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: eelgaev
Once this PR has been reviewed and has the lgtm label, please assign tsorya 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
Copy link
Copy Markdown

coderabbitai Bot commented Apr 14, 2026

Walkthrough

Updated the default container registry reference for the BlueField OCP layer from quay.io/eelgaev/rhcos-bfb to quay.io/edge-infrastructure/bluefield-ocp across API types, CRD configuration, Helm templates, documentation, and test examples.

Changes

Cohort / File(s) Summary
API & CRD Configuration
api/v1alpha1/dpfhcpprovisionerconfig_types.go, config/crd/bases/provisioning.dpu.hcp.io_dpfhcpprovisionerconfigs.yaml
Updated kubebuilder default annotation and CRD schema default for BlueFieldOCPLayerRepo field with new container registry reference.
Documentation
README.md, docs/configuration.md, test/e2e/README.md
Updated container registry references in documentation, configuration examples, and test environment variable instructions.
Helm Template
helm/dpf-hcp-provisioner-operator/templates/dpfhcpprovisionerconfig.yaml
Updated Helm template fallback default value for blueFieldOCPLayerRepo configuration.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main change: updating the container registry address for the bluefield-ocp layer repository across multiple configuration files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@api/v1alpha1/dpfhcpprovisionerconfig_types.go`:
- Around line 28-33: The BlueFieldOCPLayerRepo field currently points to
"quay.io/edge-infrastructure/bluefield-ocp" which lacks several OCP tags (e.g.,
4.20.x, 4.21.6, 4.22.0-ec.x) and will cause runtime failures when the operator
cannot find matching images; either populate the new registry with the missing
tags, explicitly document supported/dropped OCP versions in the TODO comment, or
revert/point BlueFieldOCPLayerRepo to a registry that contains the full tag
set—update the struct field comment and the TODO near BlueFieldOCPLayerRepo to
state which OCP versions are supported or that the registry is incomplete so
reviewers and operators know the limitation.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 17071e62-1827-429e-9fb9-4c1a376fc398

📥 Commits

Reviewing files that changed from the base of the PR and between d5ad3b8 and 9b506aa.

📒 Files selected for processing (6)
  • README.md
  • api/v1alpha1/dpfhcpprovisionerconfig_types.go
  • config/crd/bases/provisioning.dpu.hcp.io_dpfhcpprovisionerconfigs.yaml
  • docs/configuration.md
  • helm/dpf-hcp-provisioner-operator/templates/dpfhcpprovisionerconfig.yaml
  • test/e2e/README.md

Comment on lines 28 to 33
// BlueFieldOCPLayerRepo is the container registry repository for BlueField OCP layer images.
// The operator queries this repository to find an image tag matching the OCP version.
// TODO: Replace with the official registry once we have one
// +kubebuilder:default="quay.io/eelgaev/rhcos-bfb"
// +kubebuilder:default="quay.io/edge-infrastructure/bluefield-ocp"
// +optional
BlueFieldOCPLayerRepo string `json:"blueFieldOCPLayerRepo,omitempty"`
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify the new BlueField OCP registry is accessible and list available tags

# Check if the registry repository exists and list tags
echo "Checking registry: quay.io/edge-infrastructure/bluefield-ocp"
curl -s "https://quay.io/api/v1/repository/edge-infrastructure/bluefield-ocp/tag/" | jq -r '.tags[]? | select(.name) | .name' | head -20

# Compare with old registry
echo -e "\n---\nChecking old registry: quay.io/eelgaev/rhcos-bfb"
curl -s "https://quay.io/api/v1/repository/eelgaev/rhcos-bfb/tag/" | jq -r '.tags[]? | select(.name) | .name' | head -20

Repository: rh-ecosystem-edge/dpf-hcp-provisioner-operator

Length of output: 534


The new registry has incomplete tag coverage; missing tags from the old registry may cause runtime failures.

While quay.io/edge-infrastructure/bluefield-ocp is accessible and contains OCP version tags, it lacks versions available in the previous registry:

  • Missing 4.20.x series (4.20.4, 4.20.4-64k)
  • Missing 4.21.6
  • Missing 4.22.0-ec versions (4.22.0-ec.2, 4.22.0-ec.3-rhel10)

This means the operator will fail to find images for any OCP version not in the 4.21.0–4.21.8 range. Before merging, either:

  1. Ensure all required OCP version tags are added to the new registry
  2. Clarify that support for 4.20.x and 4.22.0-ec.x versions is intentionally dropped
  3. Update the TODO comment to reflect the official registry status
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@api/v1alpha1/dpfhcpprovisionerconfig_types.go` around lines 28 - 33, The
BlueFieldOCPLayerRepo field currently points to
"quay.io/edge-infrastructure/bluefield-ocp" which lacks several OCP tags (e.g.,
4.20.x, 4.21.6, 4.22.0-ec.x) and will cause runtime failures when the operator
cannot find matching images; either populate the new registry with the missing
tags, explicitly document supported/dropped OCP versions in the TODO comment, or
revert/point BlueFieldOCPLayerRepo to a registry that contains the full tag
set—update the struct field comment and the TODO near BlueFieldOCPLayerRepo to
state which OCP versions are supported or that the registry is incomplete so
reviewers and operators know the limitation.

@eelgaev eelgaev marked this pull request as draft April 14, 2026 20:54
@eelgaev eelgaev marked this pull request as ready for review April 15, 2026 12:35
@eelgaev eelgaev marked this pull request as draft April 17, 2026 09:16
@eelgaev
Copy link
Copy Markdown
Member Author

eelgaev commented Apr 17, 2026

Converted back to draft, builds are not stable.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant