ci: re-enable tls-scanner as best_effort post step for RHOAI e2e - #83251
ci: re-enable tls-scanner as best_effort post step for RHOAI e2e#83251ugiordan wants to merge 1 commit into
Conversation
The tls-scanner-run step was reverted in openshift#82675 because it was blocking PRs before 3.5 GA code freeze. The root cause was two categories of findings: 1. rhods-operator-catalog port 50051 - OLM file-based catalog gRPC, plain-text by design in CI (not a compliance violation) 2. rhods-operator port 8080 - metrics endpoint, now fixed by opendatahub-operator#3888 (SecureServing for metrics, merged 2026-07-30) Re-add tls-scanner-run as a best_effort post step so it reports findings without blocking PRs while we confirm all legitimate violations are gone. Once clean, promote back to a required step. Co-Authored-By: Claude <claude-sonnet-4-6> <noreply@anthropic.com>
|
PR needs rebase. 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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughThe CI configuration now targets OpenShift 4.20, builds standard and RHOAI operator artifacts, runs AWS-based E2E workflows, adds RHOAI TLS scanning, and mirrors variant-specific images with changed-file filtering. ChangesOperator CI 4.20
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant AWSClusterClaim
participant OpenShift420Cluster
participant OperatorBundle
participant E2ERunner
participant TLSScanner
AWSClusterClaim->>OpenShift420Cluster: Provision cluster
OpenShift420Cluster->>OperatorBundle: Install standard or RHOAI bundle
OperatorBundle->>E2ERunner: Start E2E commands
E2ERunner->>OpenShift420Cluster: Execute tests
OpenShift420Cluster->>TLSScanner: Run RHOAI TLS scan
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ugiordan 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 |
|
Closing to reopen from a properly rebased branch — fork was stale causing a dirty base. |
|
@ugiordan, Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
Summary
Re-enables the TLS scanner check for RHOAI that was reverted in #82675.
What changed vs the original PR #82555:
tls-scanner-runis now apoststep withbest_effort: trueinstead of a blockingteststep. This means it reports findings in CI artifacts without blocking PR merges while we confirm all legitimate violations are gone.PQC_CHECK: "true"andSCAN_NAMESPACEenv vars are preserved (same as original).tls-scanner-toolbase image re-added.Why it was reverted (#82675):
The scanner flagged two categories of non-TLS endpoints:
rhods-operator-catalogport 50051: OLM file-based catalog gRPC server, plain-text by design in CI — not a compliance violation, not a production endpoint.rhods-operatorport 8080: metrics endpoint — fixed by opendatahub-operator#3888 (SecureServing for metrics, merged 2026-07-30). This should no longer appear.Plan:
best_effort: true— scanner runs, reports, does not block.tls-scanner-runback to a required step in a follow-up PR.Reverts the revert of #82555 with the blocking behavior fixed.
/cc @Gowtham-Shanmugasundaram @davidebianchi
Summary by CodeRabbit
opendatahub-operatorrepository.poststep withbest_effort: true.PQC_CHECKandSCAN_NAMESPACEand restores thetls-scanner-toolimage.