Periodic sync of supported OCP samples#695
Conversation
WalkthroughSet explicit images in rails-pgsql templates and update ImageStream tag sets: Node.js ChangesContainer Image Template Variables
ImageStream Tag Updates
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (14 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aroyoredhat The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
e4a284d to
7a9f263
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@assets/operator/ocp-aarch64/php/imagestreams/php-rhel-aarch64.json`:
- Around line 166-176: Verify that the backing image referenced by the PHP 8.4
(Latest) imagestream is actually available and pullable: check
registry.redhat.io for registry.redhat.io/ubi10/php-84:latest and attempt a
docker/podman pull (using Red Hat credentials if required); if the image is
missing or not accessible, update the imagestream "from.name" value (currently
"8.4-ubi10") to a valid ImageStreamTag or explicit image reference that exists,
or add a note in the imagestream metadata documenting that Red Hat registry
credentials are required and provide the correct pullspec to avoid deployment
failures.
🪄 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: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 61022e20-2acf-4d92-b17b-3e93898b2550
📒 Files selected for processing (12)
assets/operator/ocp-aarch64/nodejs/imagestreams/nodejs-rhel-aarch64.jsonassets/operator/ocp-aarch64/php/imagestreams/php-rhel-aarch64.jsonassets/operator/ocp-aarch64/rails/templates/rails-pgsql-persistent.jsonassets/operator/ocp-ppc64le/nodejs/imagestreams/nodejs-rhel.jsonassets/operator/ocp-ppc64le/php/imagestreams/php-rhel.jsonassets/operator/ocp-ppc64le/rails/templates/rails-pgsql-persistent.jsonassets/operator/ocp-s390x/nodejs/imagestreams/nodejs-rhel.jsonassets/operator/ocp-s390x/php/imagestreams/php-rhel.jsonassets/operator/ocp-s390x/rails/templates/rails-pgsql-persistent.jsonassets/operator/ocp-x86_64/nodejs/imagestreams/nodejs-rhel.jsonassets/operator/ocp-x86_64/php/imagestreams/php-rhel.jsonassets/operator/ocp-x86_64/rails/templates/rails-pgsql-persistent.json
💤 Files with no reviewable changes (4)
- assets/operator/ocp-ppc64le/nodejs/imagestreams/nodejs-rhel.json
- assets/operator/ocp-s390x/nodejs/imagestreams/nodejs-rhel.json
- assets/operator/ocp-x86_64/nodejs/imagestreams/nodejs-rhel.json
- assets/operator/ocp-aarch64/nodejs/imagestreams/nodejs-rhel-aarch64.json
|
/retest-required |
7a9f263 to
f0e2efb
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@assets/operator/ocp-ppc64le/perl/imagestreams/perl-rhel.json`:
- Line 50: The image entry "registry.redhat.io/ubi8/perl-532:latest" currently
shows as reachable at the manifest endpoint but requires authenticated pulls
(anonymous returns 401); update the image accessibility check and documentation
to require verifying an authenticated pull: log into registry.redhat.io (e.g.,
podman login or skopeo login), then run podman pull or skopeo inspect against
registry.redhat.io/ubi8/perl-532:latest to confirm success, and annotate the
asset (or README) to state that a valid Red Hat pull secret/credentials are
required for deployment (include the existing README link
https://github.com/sclorg/s2i-perl-container/blob/master/5.32/README.md as
reference).
🪄 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: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: f171a372-d6b0-4e4e-b2d3-d35a949a2e78
📒 Files selected for processing (20)
assets/operator/ocp-aarch64/nodejs/imagestreams/nodejs-rhel-aarch64.jsonassets/operator/ocp-aarch64/perl/imagestreams/perl-rhel-aarch64.jsonassets/operator/ocp-aarch64/php/imagestreams/php-rhel-aarch64.jsonassets/operator/ocp-aarch64/python/imagestreams/python-rhel-aarch64.jsonassets/operator/ocp-aarch64/rails/templates/rails-pgsql-persistent.jsonassets/operator/ocp-ppc64le/nodejs/imagestreams/nodejs-rhel.jsonassets/operator/ocp-ppc64le/perl/imagestreams/perl-rhel.jsonassets/operator/ocp-ppc64le/php/imagestreams/php-rhel.jsonassets/operator/ocp-ppc64le/python/imagestreams/python-rhel.jsonassets/operator/ocp-ppc64le/rails/templates/rails-pgsql-persistent.jsonassets/operator/ocp-s390x/nodejs/imagestreams/nodejs-rhel.jsonassets/operator/ocp-s390x/perl/imagestreams/perl-rhel.jsonassets/operator/ocp-s390x/php/imagestreams/php-rhel.jsonassets/operator/ocp-s390x/python/imagestreams/python-rhel.jsonassets/operator/ocp-s390x/rails/templates/rails-pgsql-persistent.jsonassets/operator/ocp-x86_64/nodejs/imagestreams/nodejs-rhel.jsonassets/operator/ocp-x86_64/perl/imagestreams/perl-rhel.jsonassets/operator/ocp-x86_64/php/imagestreams/php-rhel.jsonassets/operator/ocp-x86_64/python/imagestreams/python-rhel.jsonassets/operator/ocp-x86_64/rails/templates/rails-pgsql-persistent.json
💤 Files with no reviewable changes (8)
- assets/operator/ocp-ppc64le/nodejs/imagestreams/nodejs-rhel.json
- assets/operator/ocp-s390x/python/imagestreams/python-rhel.json
- assets/operator/ocp-s390x/nodejs/imagestreams/nodejs-rhel.json
- assets/operator/ocp-aarch64/python/imagestreams/python-rhel-aarch64.json
- assets/operator/ocp-aarch64/nodejs/imagestreams/nodejs-rhel-aarch64.json
- assets/operator/ocp-ppc64le/python/imagestreams/python-rhel.json
- assets/operator/ocp-x86_64/nodejs/imagestreams/nodejs-rhel.json
- assets/operator/ocp-x86_64/python/imagestreams/python-rhel.json
✅ Files skipped from review due to trivial changes (1)
- assets/operator/ocp-aarch64/perl/imagestreams/perl-rhel-aarch64.json
🚧 Files skipped from review as they are similar to previous changes (8)
- assets/operator/ocp-ppc64le/rails/templates/rails-pgsql-persistent.json
- assets/operator/ocp-x86_64/php/imagestreams/php-rhel.json
- assets/operator/ocp-s390x/rails/templates/rails-pgsql-persistent.json
- assets/operator/ocp-aarch64/rails/templates/rails-pgsql-persistent.json
- assets/operator/ocp-x86_64/rails/templates/rails-pgsql-persistent.json
- assets/operator/ocp-ppc64le/php/imagestreams/php-rhel.json
- assets/operator/ocp-s390x/php/imagestreams/php-rhel.json
- assets/operator/ocp-aarch64/php/imagestreams/php-rhel-aarch64.json
| }, | ||
| "from": { | ||
| "kind": "DockerImage", | ||
| "name": "registry.redhat.io/ubi8/perl-532:latest" |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Verify the Perl 5.32 UBI8 container image is available
echo "Checking if the Perl 5.32 UBI8 image is accessible..."
# Use skopeo to inspect the image manifest without pulling
skopeo inspect docker://registry.redhat.io/ubi8/perl-532:latest --format "Image exists: {{.Name}}:{{.Tag}}, Digest: {{.Digest}}" || echo "ERROR: Image not accessible"Repository: openshift/cluster-samples-operator
Length of output: 223
🏁 Script executed:
#!/bin/bash
# Verify the documentation URL is accessible
echo "Checking README URL..."
curl -sL -w "\nHTTP Status: %{http_code}\n" -o /dev/null "https://github.com/sclorg/s2i-perl-container/blob/master/5.32/README.md"Repository: openshift/cluster-samples-operator
Length of output: 119
🏁 Script executed:
#!/bin/bash
set -euo pipefail
repo_root="."
img="registry.redhat.io/ubi8/perl-532:latest"
file="assets/operator/ocp-ppc64le/perl/imagestreams/perl-rhel.json"
echo "== File snippet (around $file:50) =="
nl -ba "$file" | sed -n '40,60p'
echo "== Repo-wide references to the image tag =="
rg -n --fixed-string "$img" . || true
echo "== Direct registry manifest probe (no auth) =="
# This will typically return 401 (auth required) or 404 (not found). Both are useful signals.
# For consistency, try both `latest` and `v2/.../manifests/latest`.
url="https://registry.redhat.io/v2/ubi8/perl-532/manifests/latest"
curl -sS -o /dev/null -D - -w "HTTP_CODE=%{http_code}\n" "$url" || trueRepository: openshift/cluster-samples-operator
Length of output: 231
🏁 Script executed:
#!/bin/bash
set -euo pipefail
file="assets/operator/ocp-ppc64le/perl/imagestreams/perl-rhel.json"
img="registry.redhat.io/ubi8/perl-532:latest"
echo "== JSON snippet around referenced line (approx 45-55) =="
sed -n '45,55p' "$file" || true
echo
echo "== Repo-wide references to the exact image string =="
if command -v rg >/dev/null 2>&1; then
rg -n --fixed-string "$img" . || true
else
grep -RIn --fixed-string "$img" . || true
fi
echo
echo "== Direct registry manifest probe (no auth) =="
url="https://registry.redhat.io/v2/ubi8/perl-532/manifests/latest"
# Capture status line + any error body (short) to distinguish 404 vs 401 vs others.
curl -sS -D - \
-H "Accept: application/vnd.docker.distribution.manifest.v2+json" \
--max-time 30 \
"$url" | head -n 40 || trueRepository: openshift/cluster-samples-operator
Length of output: 1448
🌐 Web query:
Does registry.redhat.io/ubi8/perl-532:latest exist (UBI8 Perl 5.32 image tag), and what is the correct tag name?
💡 Result:
Yes, the ubi8/perl-532 image exists in the Red Hat container registry [1][2][3]. The correct image path to use is registry.redhat.io/ubi8/perl-532 [1][2]. For container images, the "latest" tag is frequently used to point to the most recent version of an image stream [2]. While you can use registry.redhat.io/ubi8/perl-532:latest, Red Hat container images are also frequently versioned with specific release tags to ensure build reproducibility [1][4][5][6]. You can verify the specific tags available for this image by consulting the Red Hat Ecosystem Catalog or by using container CLI tools to inspect the repository [2][7].
Citations:
- 1: https://access.redhat.com/errata/RHBA-2025:8445
- 2: https://catalog.redhat.com/en/software/containers/ubi8/perl-532/61f7a138ba9e057a1e43ca6a
- 3: https://ftp.redhat.com/pub/redhat/containers/ubi8/
- 4: https://access.redhat.com/errata/RHBA-2025:2759
- 5: https://access.redhat.com/errata/RHBA-2025:0800
- 6: https://access.redhat.com/errata/RHBA-2023:4550
- 7: https://access.redhat.com/articles/4238681
Update image accessibility check: confirm pull with registry auth (401 ≠ missing)
registry.redhat.io/ubi8/perl-532:latestresolves at the manifest endpoint, but anonymous access returns 401 UNAUTHORIZED (Bearer auth required), so deployment success depends on having valid pull credentials/pull secret.- README link
https://github.com/sclorg/s2i-perl-container/blob/master/5.32/README.mdreturns HTTP 200.
Suggested follow-up check: run the pull/inspect after logging in (e.g., podman login registry.redhat.io or skopeo login ... with appropriate credentials), then confirm podman pull registry.redhat.io/ubi8/perl-532:latest (or skopeo inspect ...) succeeds.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@assets/operator/ocp-ppc64le/perl/imagestreams/perl-rhel.json` at line 50, The
image entry "registry.redhat.io/ubi8/perl-532:latest" currently shows as
reachable at the manifest endpoint but requires authenticated pulls (anonymous
returns 401); update the image accessibility check and documentation to require
verifying an authenticated pull: log into registry.redhat.io (e.g., podman login
or skopeo login), then run podman pull or skopeo inspect against
registry.redhat.io/ubi8/perl-532:latest to confirm success, and annotate the
asset (or README) to state that a valid Red Hat pull secret/credentials are
required for deployment (include the existing README link
https://github.com/sclorg/s2i-perl-container/blob/master/5.32/README.md as
reference).
|
@aroyoredhat: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
Syncing the latest supported OCP samples from the library.
Created using https://github.com/aroyoredhat/trigger-test-samples-build
Summary by CodeRabbit
Bug Fixes
Chores