Skip to content

NO-JIRA: Update minio image to use source with all supported architectures - #31441

Open
jubittajohn wants to merge 1 commit into
openshift:mainfrom
jubittajohn:fix-source-minio-image
Open

NO-JIRA: Update minio image to use source with all supported architectures#31441
jubittajohn wants to merge 1 commit into
openshift:mainfrom
jubittajohn:fix-source-minio-image

Conversation

@jubittajohn

@jubittajohn jubittajohn commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Tests
    • Updated the permitted MinIO test image reference to support the latest test environment configuration.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: automatic mode

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 28, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@jubittajohn: This pull request explicitly references no jira issue.

Details

In response to this:

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci Bot added the ready-for-human-review Indicates a PR has been reviewed by automated tools and is ready for human review label Jul 28, 2026
@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: c54c8324-accc-4557-a044-1d9a02194c8f

📥 Commits

Reviewing files that changed from the base of the PR and between 76bdf92 and d993616.

⛔ Files ignored due to path filters (1)
  • test/extended/util/image/zz_generated.txt is excluded by !**/zz_generated*
📒 Files selected for processing (1)
  • test/extended/util/image/image.go
🚧 Files skipped from review as they are similar to previous changes (1)
  • test/extended/util/image/image.go

Walkthrough

The allowedImages map now references quay.io/openshifttest/minio:latest instead of the previous pinned MinIO image.

Changes

MinIO image update

Layer / File(s) Summary
Update allowed MinIO image
test/extended/util/image/image.go
The allowedImages map permits quay.io/openshifttest/minio:latest and reorders the entry near the squid image.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: jacobsee

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: switching the MinIO image source to one that supports all architectures.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed The PR only updates a static allowedImages map; the changed file contains no Ginkgo It/Describe/Context/When titles or dynamic test names.
Test Structure And Quality ✅ Passed Only a utility image-map entry changed; no Ginkgo tests, setup/cleanup, timeouts, or assertions were added.
Microshift Test Compatibility ✅ Passed The only change is an image allowlist update in test/extended/util/image/image.go; no new Ginkgo tests, APIs, or MicroShift-sensitive logic were added.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR only updates image allowlists/generated mapping; no new Ginkgo tests or multi-node assumptions were added.
Topology-Aware Scheduling Compatibility ✅ Passed Only a test image allowlist entry changed in image.go; no manifests, controllers, or scheduling logic were modified.
Ote Binary Stdout Contract ✅ Passed PR only updates an allowed image map entry; no process-level stdout writes were added or modified.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The PR only updates an image allowlist entry; no new Ginkgo tests, IPv4-specific logic, or direct external connectivity was added.
No-Weak-Crypto ✅ Passed Diff only updates MinIO image references; changed hunks contain no MD5/SHA1/DES/RC4/3DES/Blowfish/ECB or secret-comparison logic.
Container-Privileges ✅ Passed PR only changes test image allowlists/generated refs; no privileged/hostPID/hostNetwork/hostIPC/SYS_ADMIN/allowPrivilegeEscalation settings were added or modified.
No-Sensitive-Data-In-Logs ✅ Passed Only image references changed; no new logging or sensitive fields were added, and existing logs are generic status messages.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

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 current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@test/extended/util/image/image.go`:
- Line 78: Update the MinIO image entry in the image reference map to use the
published versioned tag instead of latest, and update the corresponding matching
testdata reference to keep both values synchronized.
🪄 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 YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 4e8f8156-7aab-46e1-afbd-bf93a3b178f2

📥 Commits

Reviewing files that changed from the base of the PR and between cffa34e and 76bdf92.

⛔ Files ignored due to path filters (1)
  • test/extended/util/image/zz_generated.txt is excluded by !**/zz_generated*
📒 Files selected for processing (1)
  • test/extended/util/image/image.go


// used by cluster-image-registry-operator e2e tests (S3/Minio endpoint test)
"quay.io/minio/minio:RELEASE.2025-09-07T16-13-09Z": -1,
"quay.io/openshifttest/minio:latest": -1,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Inspect the relevant file and surrounding code.
git ls-files test/extended/util/image/image.go
wc -l test/extended/util/image/image.go
sed -n '1,220p' test/extended/util/image/image.go

# Find the lookup helper and callers.
rg -n "LocationFor\\(|quay.io/openshifttest/minio|openshifttest/minio" test/extended -S

# Show just the relevant definitions/call sites with context.
rg -n -C 3 "func .*LocationFor|quay.io/openshifttest/minio" test/extended/util/image/image.go test/extended -S

Repository: openshift/origin

Length of output: 15528


🏁 Script executed:

#!/bin/bash
set -euo pipefail

sed -n '1,120p' test/extended/util/image/README.md
sed -n '1,120p' test/extended/util/image/zz_generated.txt

# Inspect how the image mapping is generated/applied.
rg -n -C 3 "func GetMappedImages|GetMappedImages\\(|allowedImages|zz_generated" test/extended/util/image -S
sed -n '80,170p' test/extended/util/image/image.go

Repository: openshift/origin

Length of output: 23095


Pin the MinIO image reference to a versioned tag. latest is mutable and disallowed for e2e images; use the published MinIO version here and keep the matching testdata in sync.

🤖 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 `@test/extended/util/image/image.go` at line 78, Update the MinIO image entry
in the image reference map to use the published versioned tag instead of latest,
and update the corresponding matching testdata reference to keep both values
synchronized.

@openshift-ci
openshift-ci Bot requested review from bertinatto and jacobsee July 28, 2026 16:10
@openshift-ci openshift-ci Bot added e2e-images-update Related to images used by e2e tests approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jul 28, 2026

// used by cluster-image-registry-operator e2e tests (S3/Minio endpoint test)
"quay.io/minio/minio:RELEASE.2025-09-07T16-13-09Z": -1,
"quay.io/openshifttest/minio:latest": -1,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this LGTM, but where exactly are we using this image?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ack, thanks for clarifying.

Signed-off-by: jubittajohn <jujohn@redhat.com>
@jubittajohn
jubittajohn force-pushed the fix-source-minio-image branch from 76bdf92 to d993616 Compare July 28, 2026 19:55
@jubittajohn

Copy link
Copy Markdown
Contributor Author

Mirrored the image with right tag

oc image mirror \
    quay.io/openshifttest/minio:latest \
    quay.io/openshift/community-e2e-images:e2e-quay-io-openshifttest-minio-latest-p_yqYDk9rEgphwXT \
    '--filter-by-os=.*'
quay.io/
  openshift/community-e2e-images
    manifests:
      sha256:36f62f8dbb1646fa4a9af89bbe88baaf1b25c3807223974bf3f725041cf8eed5
      sha256:ac89ad96f421c0d86fcfa2ce419c1f7c921a0956fef7514d8b66fbe01ab48740
      sha256:c1ca62a34bcae99f5f6db361dd66959de622867795632d9d7c4059818cbcb19e
      sha256:e30597378bb1e3c606a4bcfd3049d984616ff6d4df78f8adf645240c6113b33f
      sha256:fc6bedc99355fbdf1982a734475b56d01f4bbc59a9ec6f9a7bc4e222f74f5326 -> e2e-quay-io-openshifttest-minio-latest-p_yqYDk9rEgphwXT
  stats: shared=0 unique=0 size=0B

phase 0:
  quay.io openshift/community-e2e-images blobs=0 mounts=0 manifests=5 shared=0

info: Planning completed in 3.25s
sha256:e30597378bb1e3c606a4bcfd3049d984616ff6d4df78f8adf645240c6113b33f quay.io/openshift/community-e2e-images
sha256:36f62f8dbb1646fa4a9af89bbe88baaf1b25c3807223974bf3f725041cf8eed5 quay.io/openshift/community-e2e-images
sha256:c1ca62a34bcae99f5f6db361dd66959de622867795632d9d7c4059818cbcb19e quay.io/openshift/community-e2e-images
sha256:ac89ad96f421c0d86fcfa2ce419c1f7c921a0956fef7514d8b66fbe01ab48740 quay.io/openshift/community-e2e-images
sha256:fc6bedc99355fbdf1982a734475b56d01f4bbc59a9ec6f9a7bc4e222f74f5326 quay.io/openshift/community-e2e-images:e2e-quay-io-openshifttest-minio-latest-p_yqYDk9rEgphwXT
info: Mirroring completed in 430ms (0B/s)

@bertinatto bertinatto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm


// used by cluster-image-registry-operator e2e tests (S3/Minio endpoint test)
"quay.io/minio/minio:RELEASE.2025-09-07T16-13-09Z": -1,
"quay.io/openshifttest/minio:latest": -1,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ack, thanks for clarifying.

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 28, 2026
@openshift-ci

openshift-ci Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bertinatto, jubittajohn

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

The pull request process is described 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

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling required tests:
/test e2e-aws-csi
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-microshift
/test e2e-aws-ovn-microshift-serial
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp-csi
/test e2e-gcp-ovn
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi

@openshift-ci

openshift-ci Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

@jubittajohn: all tests passed!

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. e2e-images-update Related to images used by e2e tests jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. ready-for-human-review Indicates a PR has been reviewed by automated tools and is ready for human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants