Skip to content

[WIP] OCPBUGS-99920: Pre-release testing for OSSM 3.4.1 bump - #1527

Open
gcs278 wants to merge 5 commits into
openshift:masterfrom
gcs278:bump-ossm-3.4.1
Open

[WIP] OCPBUGS-99920: Pre-release testing for OSSM 3.4.1 bump#1527
gcs278 wants to merge 5 commits into
openshift:masterfrom
gcs278:bump-ossm-3.4.1

Conversation

@gcs278

@gcs278 gcs278 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Pre-release testing for OSSM 3.4.1. Using v1.30-latest to confirm that the PILOT_ENABLE_GATEWAY_API_CA_CERT_ONLY regression is fixed — OSSM 3.4.0 dropped the carry patch that scopes CA root cert configmap creation to Gateway namespaces, causing the ClusterResourceQuota e2e test to fail (OCPBUGS-54884).

Changes

  • Bump OSSM version from 3.4.0 to 3.4.1
  • Bump Istio version from v1.28-latest to v1.30-latest
  • Override vendored images with downstream registry.redhat.io digests from the OSSM 3.4.1 pre-release IIB
  • Add hack/override-ossm-images.sh for generating image overrides

Regression being validated

The PILOT_ENABLE_GATEWAY_API_CA_CERT_ONLY env var was carried on OSSM release-1.28 but not carried forward to release-1.30.1. The gateway_ca_controller.go file exists on 1.30.1 but is dead code — the feature flag and bootstrap wiring were not carried over.

🤖 Generated with Claude Code

@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: LGTM mode

@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. labels Jul 27, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@gcs278: This pull request references Jira Issue OCPBUGS-98310, which is invalid:

  • expected the bug to be in one of the following states: NEW, ASSIGNED, POST, but it is Verified instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Summary

Pre-release testing for OSSM 3.4.1. Using v1.30-latest to confirm that the PILOT_ENABLE_GATEWAY_API_CA_CERT_ONLY regression is fixed — OSSM 3.4.0 dropped the carry patch that scopes CA root cert configmap creation to Gateway namespaces, causing the ClusterResourceQuota e2e test to fail (OCPBUGS-54884).

Changes

  • Bump OSSM version from 3.4.0 to 3.4.1
  • Bump Istio version from v1.28-latest to v1.30-latest
  • Override vendored images with downstream registry.redhat.io digests from the OSSM 3.4.1 pre-release IIB
  • Add hack/override-ossm-images.sh for generating image overrides

Regression being validated

The PILOT_ENABLE_GATEWAY_API_CA_CERT_ONLY env var was carried on OSSM release-1.28 but not carried forward to release-1.30.1. The gateway_ca_controller.go file exists on 1.30.1 but is dead code — the feature flag and bootstrap wiring were not carried over.

🤖 Generated with Claude Code

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-robot openshift-ci-robot added the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Jul 27, 2026
@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉


📝 Walkthrough

Walkthrough

Updates default and deployment Gateway API and Istio versions to servicemeshoperator3.v3.4.1 and v1.30-latest, refreshes Go and Istio dependencies, and points the Sail Operator replacement to a newer downstream revision. Adds a script that extracts OSSM image references from an OLM catalog and generates versioned downstream image digest mappings for Istiod, proxy, CNI, and Ztunnel components.

Suggested reviewers: alebedev87, rikatz

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the OSSM 3.4.1 pre-release bump and testing changes.
Description check ✅ Passed The description accurately describes the version bumps, image overrides, and regression being validated.
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 Reviewed all changed test files; their names are static literals or fixed table values, with no dynamic suffixes, timestamps, UUIDs, or IPs.
Test Structure And Quality ✅ Passed No Ginkgo tests were added or modified; the changed test files are standard Go tests, and existing cluster waits use explicit timeouts.
Microshift Test Compatibility ✅ Passed No new Ginkgo e2e tests were added; the PR only tweaks existing e2e support and updates Gateway API CRD handling, with no MicroShift-unsupported OpenShift APIs or assumptions.
Single Node Openshift (Sno) Test Compatibility ✅ Passed No new e2e test functions were added; the changed Gateway API path already skips SingleReplicaTopology and no multi-node assumptions were introduced.
Topology-Aware Scheduling Compatibility ✅ Passed Only image/version constants changed; no scheduling fields, affinities, replicas, or node selectors were added or modified.
Ote Binary Stdout Contract ✅ Passed Touched Go process-level code only changes defaults and initializes a map; no stdout prints or logging redirection issues were added.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed No new Ginkgo e2e tests were added; the PR only changes configs, a generated Go map, and a helper script.
No-Weak-Crypto ✅ Passed No weak-crypto patterns found in changed files or patches; the only hash usage is sha256 image digests, and TLS handling uses secure config helpers.
Container-Privileges ✅ Passed Changed manifests keep allowPrivilegeEscalation:false, runAsNonRoot:true, and no privileged/host* or SYS_ADMIN settings appear.
No-Sensitive-Data-In-Logs ✅ Passed Added logs only report catalog/bundle/version progress and APIServer retry status; no passwords, tokens, PII, or hostnames are explicitly logged.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Fix failing CI checks
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 27, 2026
@openshift-ci

openshift-ci Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci

openshift-ci Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

@gcs278

gcs278 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

/pipeline require

@gcs278 gcs278 changed the title OCPBUGS-98310: Pre-release testing for OSSM 3.4.1 bump Pre-release testing for OSSM 3.4.1 bump Jul 27, 2026
@openshift-ci-robot openshift-ci-robot removed jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Jul 27, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@gcs278: No Jira issue is referenced in the title of this pull request.
To reference a jira issue, add 'XYZ-NNN:' to the title of this pull request and request another refresh with /jira refresh.

Details

In response to this:

Summary

Pre-release testing for OSSM 3.4.1. Using v1.30-latest to confirm that the PILOT_ENABLE_GATEWAY_API_CA_CERT_ONLY regression is fixed — OSSM 3.4.0 dropped the carry patch that scopes CA root cert configmap creation to Gateway namespaces, causing the ClusterResourceQuota e2e test to fail (OCPBUGS-54884).

Changes

  • Bump OSSM version from 3.4.0 to 3.4.1
  • Bump Istio version from v1.28-latest to v1.30-latest
  • Override vendored images with downstream registry.redhat.io digests from the OSSM 3.4.1 pre-release IIB
  • Add hack/override-ossm-images.sh for generating image overrides

Regression being validated

The PILOT_ENABLE_GATEWAY_API_CA_CERT_ONLY env var was carried on OSSM release-1.28 but not carried forward to release-1.30.1. The gateway_ca_controller.go file exists on 1.30.1 but is dead code — the feature flag and bootstrap wiring were not carried over.

🤖 Generated with Claude Code

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.

@gcs278 gcs278 changed the title Pre-release testing for OSSM 3.4.1 bump OCPBUGS-99920: Pre-release testing for OSSM 3.4.1 bump Jul 27, 2026
@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Jul 27, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@gcs278: This pull request references Jira Issue OCPBUGS-99920, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (5.0.0) matches configured target version for branch (5.0.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Summary

Pre-release testing for OSSM 3.4.1. Using v1.30-latest to confirm that the PILOT_ENABLE_GATEWAY_API_CA_CERT_ONLY regression is fixed — OSSM 3.4.0 dropped the carry patch that scopes CA root cert configmap creation to Gateway namespaces, causing the ClusterResourceQuota e2e test to fail (OCPBUGS-54884).

Changes

  • Bump OSSM version from 3.4.0 to 3.4.1
  • Bump Istio version from v1.28-latest to v1.30-latest
  • Override vendored images with downstream registry.redhat.io digests from the OSSM 3.4.1 pre-release IIB
  • Add hack/override-ossm-images.sh for generating image overrides

Regression being validated

The PILOT_ENABLE_GATEWAY_API_CA_CERT_ONLY env var was carried on OSSM release-1.28 but not carried forward to release-1.30.1. The gateway_ca_controller.go file exists on 1.30.1 but is dead code — the feature flag and bootstrap wiring were not carried over.

🤖 Generated with Claude Code

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.

@gcs278

gcs278 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

/payload-job periodic-ci-openshift-release-main-ci-5.0-e2e-aws-ovn-upgrade

@openshift-ci

openshift-ci Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

@gcs278: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-main-ci-5.0-e2e-aws-ovn-upgrade

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/e2b5b880-89fc-11f1-9492-901b5ac20b02-0

@gcs278

gcs278 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

/pipeline require

1 similar comment
@gcs278

gcs278 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

/pipeline require

@gcs278 gcs278 closed this Jul 28, 2026
@gcs278
gcs278 marked this pull request as ready for review July 28, 2026 00:03
@openshift-ci openshift-ci Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 28, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@gcs278: This pull request references Jira Issue OCPBUGS-99920. The bug has been updated to no longer refer to the pull request using the external bug tracker. All external bug links have been closed. The bug has been moved to the NEW state.

Details

In response to this:

Summary

Pre-release testing for OSSM 3.4.1. Using v1.30-latest to confirm that the PILOT_ENABLE_GATEWAY_API_CA_CERT_ONLY regression is fixed — OSSM 3.4.0 dropped the carry patch that scopes CA root cert configmap creation to Gateway namespaces, causing the ClusterResourceQuota e2e test to fail (OCPBUGS-54884).

Changes

  • Bump OSSM version from 3.4.0 to 3.4.1
  • Bump Istio version from v1.28-latest to v1.30-latest
  • Override vendored images with downstream registry.redhat.io digests from the OSSM 3.4.1 pre-release IIB
  • Add hack/override-ossm-images.sh for generating image overrides

Regression being validated

The PILOT_ENABLE_GATEWAY_API_CA_CERT_ONLY env var was carried on OSSM release-1.28 but not carried forward to release-1.30.1. The gateway_ca_controller.go file exists on 1.30.1 but is dead code — the feature flag and bootstrap wiring were not carried over.

🤖 Generated with Claude Code

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.

@gcs278

gcs278 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

/reopn

@gcs278

gcs278 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

/reopen

@openshift-ci

openshift-ci Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

@gcs278: Reopened this PR.

Details

In response to this:

/reopen

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.

@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@gcs278: This pull request references Jira Issue OCPBUGS-99920, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (5.0.0) matches configured target version for branch (5.0.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Summary

Pre-release testing for OSSM 3.4.1. Using v1.30-latest to confirm that the PILOT_ENABLE_GATEWAY_API_CA_CERT_ONLY regression is fixed — OSSM 3.4.0 dropped the carry patch that scopes CA root cert configmap creation to Gateway namespaces, causing the ClusterResourceQuota e2e test to fail (OCPBUGS-54884).

Changes

  • Bump OSSM version from 3.4.0 to 3.4.1
  • Bump Istio version from v1.28-latest to v1.30-latest
  • Override vendored images with downstream registry.redhat.io digests from the OSSM 3.4.1 pre-release IIB
  • Add hack/override-ossm-images.sh for generating image overrides

Regression being validated

The PILOT_ENABLE_GATEWAY_API_CA_CERT_ONLY env var was carried on OSSM release-1.28 but not carried forward to release-1.30.1. The gateway_ca_controller.go file exists on 1.30.1 but is dead code — the feature flag and bootstrap wiring were not carried over.

🤖 Generated with Claude Code

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.

@gcs278

gcs278 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

/pipeline required

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-aws-gatewayapi-conformance
/test e2e-aws-operator
/test e2e-aws-ovn
/test e2e-aws-ovn-hypershift-conformance
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-aws-ovn-upgrade
/test e2e-azure-operator
/test e2e-gcp-operator
/test e2e-hypershift
/test e2e-vsphere-static-metallb-operator-gwapi
/test e2e-vsphere-static-metallb-operator-gwapi-techpreview

@gcs278 gcs278 changed the title OCPBUGS-99920: Pre-release testing for OSSM 3.4.1 bump [WIP] OCPBUGS-99920: Pre-release testing for OSSM 3.4.1 bump Jul 28, 2026
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 28, 2026
@gcs278

gcs278 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@gcs278

gcs278 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

/retest

@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 `@go.mod`:
- Line 225: Update the indirect istio.io/istio dependency pin in go.mod to a
non-vulnerable fixed release, or remove it if dependency analysis confirms it is
not required by any shipped or reachable build path.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

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

Comment thread go.mod
@gcs278

gcs278 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

/pipeline required

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-aws-gatewayapi-conformance
/test e2e-aws-operator
/test e2e-aws-ovn
/test e2e-aws-ovn-hypershift-conformance
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-aws-ovn-upgrade
/test e2e-azure-operator
/test e2e-gcp-operator
/test e2e-hypershift
/test e2e-vsphere-static-metallb-operator-gwapi
/test e2e-vsphere-static-metallb-operator-gwapi-techpreview

@gcs278

gcs278 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

/retest

@gcs278

gcs278 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

the 1.30.3 pre-release images are not being pulled. Going back to 1.30.1

@gcs278

gcs278 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

/pipeline required

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-aws-gatewayapi-conformance
/test e2e-aws-operator
/test e2e-aws-ovn
/test e2e-aws-ovn-hypershift-conformance
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-aws-ovn-upgrade
/test e2e-azure-operator
/test e2e-gcp-operator
/test e2e-hypershift
/test e2e-vsphere-static-metallb-operator-gwapi
/test e2e-vsphere-static-metallb-operator-gwapi-techpreview

@gcs278

gcs278 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

Some failures like:

Error syncing load balancer: failed to ensure load balancer: error creating load balancer: \"operation error Elastic Load Balancing v2: CreateLoadBalancer, exceeded maximum number of attempts, 3, https response error StatusCode: 400, RequestID: 3c4d06e2-b981-4a24-98b8-e1983296db35, api error Throttling: Rate exceeded\"\nThe cloud-controller-manager logs may contain more details.

/retest

@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 29, 2026

@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: 3

Caution

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

⚠️ Outside diff range comments (1)
hack/override-ossm-images.sh (1)

159-170: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Fail when a version lacks any required component image.

The script only checks that some related images exist. Missing cni, ztunnel, proxy, or istiod values are silently emitted as empty strings, creating a deployable-but-invalid image mapping. Validate all four fields for every discovered version before writing the file.

🤖 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 `@hack/override-ossm-images.sh` around lines 159 - 170, Validate istiod, proxy,
cni, and ztunnel for each version in the VERSIONS loop before appending to
TARGET. If any required image value is empty, fail the script with a clear error
and do not emit that version’s mapping; preserve the existing output generation
when all four values are present.
🤖 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 `@hack/override-ossm-images.sh`:
- Around line 118-120: Validate REGISTRY before the image-rewriting logic in the
override script, allowing only a registry hostname with an optional port and
rejecting quotes, newlines, and other characters unsafe in generated Go string
literals. Continue replacing the registry prefix only after validation succeeds.
- Around line 29-31: Update the --registry option handling in the argument
parser to validate that a following value exists before reading $2, and
otherwise print usage guidance and exit cleanly. Preserve assigning the provided
value to REGISTRY_OVERRIDE and shifting both arguments when valid.

In `@pkg/operator/controller/gatewayclass/istio_images.go`:
- Around line 12-75: Update the downstream image-registry assertion in the
relevant test for the mappings used by the image-version configuration, such as
the entries in the IstiodImage, ProxyImage, CNIImage, and ZTunnelImage map.
Accept registry.stage.redhat.io for pre-release mappings while preserving
registry.redhat.io acceptance for production mappings, so the targeted test
passes across all supported versions.

---

Outside diff comments:
In `@hack/override-ossm-images.sh`:
- Around line 159-170: Validate istiod, proxy, cni, and ztunnel for each version
in the VERSIONS loop before appending to TARGET. If any required image value is
empty, fail the script with a clear error and do not emit that version’s
mapping; preserve the existing output generation when all four values are
present.
🪄 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: 3fee8ef6-9c0e-4c95-a3d5-64fac2bd5eb4

📥 Commits

Reviewing files that changed from the base of the PR and between 2afaa91 and 9817dfc.

📒 Files selected for processing (2)
  • hack/override-ossm-images.sh
  • pkg/operator/controller/gatewayclass/istio_images.go

Comment on lines +29 to +31
--registry)
REGISTRY_OVERRIDE="$2"
shift 2

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Require a value after --registry.

With set -u, invoking --registry without a following value exits with an unhelpful unbound-variable error instead of usage guidance.

Proposed fix
         --registry)
+            if [[ $# -lt 2 || "$2" == --* ]]; then
+                echo "error: --registry requires a registry hostname"
+                exit 1
+            fi
             REGISTRY_OVERRIDE="$2"
🤖 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 `@hack/override-ossm-images.sh` around lines 29 - 31, Update the --registry
option handling in the argument parser to validate that a following value exists
before reading $2, and otherwise print usage guidance and exit cleanly. Preserve
assigning the provided value to REGISTRY_OVERRIDE and shifting both arguments
when valid.

Comment on lines +118 to +120
# If a registry override is set, replace the registry prefix
if [[ -n "${REGISTRY}" ]]; then
image="${image/registry.redhat.io/${REGISTRY}}"

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

Validate the registry before generating Go source.

--registry is written into quoted Go string literals. A value containing quotes or newlines can corrupt or inject generated source. Restrict it to a registry hostname (optionally with port) before rewriting images.

🤖 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 `@hack/override-ossm-images.sh` around lines 118 - 120, Validate REGISTRY
before the image-rewriting logic in the override script, allowing only a
registry hostname with an optional port and rejecting quotes, newlines, and
other characters unsafe in generated Go string literals. Continue replacing the
registry prefix only after validation succeeds.

Comment thread pkg/operator/controller/gatewayclass/istio_images.go
gcs278 and others added 5 commits July 30, 2026 10:16
Bump OSSM version to 3.4.1 and Istio version to v1.30-latest.
Override vendored images with downstream registry.redhat.io digests
from the OSSM 3.4.1 pre-release IIB.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Switch from the release-3.4.0-nid branch to the official release-3.4
branch. The fixes that required the -nid branch (lifecycle mutex fix
istio-ecosystem#2160 and TLS cipher suite support istio-ecosystem#2048)
have landed on release-3.4.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Revert to v1.30.1 until the v1.30.3 issue is resolved. This should
be changed back to v1.30-latest once OSSM 3.4.1 ships with a working
v1.30.3.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
IIB images (registry-proxy.engineering.redhat.com) contain pre-release
bundles whose image references point to registry.redhat.io, but the
images aren't published there until GA. Automatically use
registry.stage.redhat.io when an IIB catalog is detected.

Also adds --registry flag for explicit override.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gcs278
gcs278 force-pushed the bump-ossm-3.4.1 branch from af10ced to ee20079 Compare July 30, 2026 14:19
@openshift-ci openshift-ci Bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 30, 2026
@gcs278

gcs278 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

/pipeline required

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-aws-gatewayapi-conformance
/test e2e-aws-operator
/test e2e-aws-ovn
/test e2e-aws-ovn-hypershift-conformance
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-aws-ovn-upgrade
/test e2e-azure-operator
/test e2e-gcp-operator
/test e2e-hypershift
/test e2e-vsphere-static-metallb-operator-gwapi
/test e2e-vsphere-static-metallb-operator-gwapi-techpreview

@openshift-ci

openshift-ci Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

@gcs278: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-ovn-upgrade ee20079 link true /test e2e-aws-ovn-upgrade
ci/prow/e2e-aws-ovn-serial-1of2 ee20079 link true /test e2e-aws-ovn-serial-1of2
ci/prow/e2e-vsphere-static-metallb-operator-gwapi ee20079 link false /test e2e-vsphere-static-metallb-operator-gwapi
ci/prow/e2e-vsphere-static-metallb-operator-gwapi-techpreview ee20079 link false /test e2e-vsphere-static-metallb-operator-gwapi-techpreview
ci/prow/e2e-aws-gatewayapi-conformance ee20079 link false /test e2e-aws-gatewayapi-conformance
ci/prow/unit ee20079 link true /test unit
ci/prow/e2e-aws-ovn-serial-2of2 ee20079 link true /test e2e-aws-ovn-serial-2of2
ci/prow/e2e-azure-operator ee20079 link true /test e2e-azure-operator
ci/prow/e2e-gcp-operator ee20079 link true /test e2e-gcp-operator
ci/prow/e2e-aws-operator ee20079 link true /test e2e-aws-operator
ci/prow/e2e-aws-ovn ee20079 link true /test e2e-aws-ovn

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.

@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 30, 2026
@openshift-ci

openshift-ci Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

PR needs rebase.

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.

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

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants