Skip to content

STOR-3001: Add TLS scanner job to local-storage-operator - #82673

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
RomanBednar:feat/lso-tls-scanner
Jul 30, 2026
Merged

STOR-3001: Add TLS scanner job to local-storage-operator#82673
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
RomanBednar:feat/lso-tls-scanner

Conversation

@RomanBednar

@RomanBednar RomanBednar commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

Adds an optional, manually triggered TLS 1.3 scanner presubmit job for local-storage-operator across main, release-4.23, release-5.0, and release-5.1. The job provisions an AWS cluster, installs the operator through OLM, and scans the openshift-local-storage namespace using the TLS scanner tool with configured resource limits and adherence policies.

Adds an optional, manually-triggered TLS scanner presubmit job
(tls-scanner-local-storage) to local-storage-operator across main,
release-4.23, release-5.0, and release-5.1 branches.

The job provisions an AWS cluster, installs the operator through OLM,
and scans the openshift-local-storage namespace.
@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 30, 2026
@openshift-ci-robot

openshift-ci-robot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

@RomanBednar: This pull request references STOR-3001 which is a valid 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.

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Walkthrough

OpenShift CI configurations add a tls-scanner-tool image and optional tls-scanner-local-storage jobs across main, 4.23, 5.0, and 5.1 pipelines. The jobs configure TLS 1.3 scanning and run the shared tls-13 and tls-scanner-run steps.

Changes

Local storage TLS scanning

Layer / File(s) Summary
Define TLS scanner images
ci-operator/config/openshift/local-storage-operator/*
Each pipeline configuration adds a tls-scanner-tool base image definition.
Wire optional scanner jobs
ci-operator/config/openshift/local-storage-operator/*
Each pipeline adds an optional AWS test job with scanner settings, TLS 1.3 adherence configuration, and tls-13 plus tls-scanner-run test references.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant tls_scanner_local_storage
  participant optional_operators_ci_aws
  participant tls_13
  participant tls_scanner_run
  tls_scanner_local_storage->>optional_operators_ci_aws: start optional AWS workflow
  optional_operators_ci_aws->>tls_13: run TLS 1.3 adherence check
  tls_13->>tls_scanner_run: pass scan namespace and policy
  tls_scanner_run->>tls_scanner_local_storage: report scanner result
Loading

Possibly related PRs

🚥 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 and concisely describes the main change: adding a TLS scanner job to local-storage-operator.
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 Touched files only add static CI job IDs (tls-scanner-local-storage/tls-13/tls-scanner-run); no Ginkgo It/Describe/Context titles or dynamic values found.
Test Structure And Quality ✅ Passed PR only changes ci-operator/job YAMLs; no Ginkgo test code was added or modified, so this check is not applicable.
Microshift Test Compatibility ✅ Passed Only CI/job YAML changed; no new Ginkgo e2e test code or MicroShift-sensitive APIs were added, so the check is not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR only adds CI/job YAML; no new Ginkgo e2e tests or HA/SNO-sensitive test code were introduced.
Topology-Aware Scheduling Compatibility ✅ Passed Only ci-operator config and generated presubmit job YAML changed; no deployment manifests, operator code, or controller scheduling logic was added.
Ote Binary Stdout Contract ✅ Passed Only ci-operator config/job YAML changed; no binary entrypoints or suite setup code were modified, so the stdout contract isn’t implicated.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed Only CI config was added; no new Ginkgo test code or IPv4/public-internet assumptions were introduced. The referenced scanner runs against the cluster only.
No-Weak-Crypto ✅ Passed Only CI YAML was changed; no MD5/SHA1/DES/RC4/3DES/Blowfish/ECB or custom crypto/secret-comparison code appears in the added config.
Container-Privileges ✅ Passed No privileged/host* / SYS_ADMIN / allowPrivilegeEscalation fields were added; the new TLS scanner jobs use standard ci-operator pod specs only.
No-Sensitive-Data-In-Logs ✅ Passed The added CI config only defines a TLS scanner job; it adds no log statements or secret-bearing values.
✨ 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
Contributor

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
`@ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-main.yaml`:
- Around line 101-121: Regenerate the Prow job artifacts for the
tls-scanner-local-storage test by running make update. Commit the generated
output for
ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-main.yaml
lines 101-121, and add the corresponding generated jobs for
ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-release-4.23.yaml
lines 101-121,
ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-release-5.0.yaml
lines 102-122, and
ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-release-5.1.yaml
lines 101-121.
🪄 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: a69a0722-4ee3-4d24-b3de-de74d9caf12c

📥 Commits

Reviewing files that changed from the base of the PR and between a4e32a0 and e114ea0.

⛔ Files ignored due to path filters (4)
  • ci-operator/jobs/openshift/local-storage-operator/openshift-local-storage-operator-main-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/local-storage-operator/openshift-local-storage-operator-release-4.23-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/local-storage-operator/openshift-local-storage-operator-release-5.0-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/local-storage-operator/openshift-local-storage-operator-release-5.1-presubmits.yaml is excluded by !ci-operator/jobs/**
📒 Files selected for processing (4)
  • ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-main.yaml
  • ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-release-4.23.yaml
  • ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-release-5.0.yaml
  • ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-release-5.1.yaml

Comment on lines +101 to +121
- always_run: false
as: tls-scanner-local-storage
optional: true
steps:
cluster_profile: openshift-org-aws
dependencies:
OO_INDEX: ci-index-local-storage-operator-bundle
env:
OO_CHANNEL: preview
OO_INSTALL_NAMESPACE: openshift-local-storage
OO_PACKAGE: local-storage-operator
OO_TARGET_NAMESPACES: '!install'
SCAN_NAMESPACE: openshift-local-storage
SCANNER_CPU: "1"
SCANNER_MEMORY: 1Gi
TLS_13_ENABLE_TLS_ADHERENCE: "true"
TLS_13_TLS_ADHERENCE_POLICY: StrictAllComponents
test:
- ref: tls-13
- ref: tls-scanner-run
workflow: optional-operators-ci-aws

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Regenerate Prow jobs for all newly added scanner jobs. These named tests alter generated Prow-job configuration, but no generated artifacts are included.

  • ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-main.yaml#L101-L121: run make update and commit generated output.
  • ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-release-4.23.yaml#L101-L121: include the release-4.23 generated job.
  • ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-release-5.0.yaml#L102-L122: include the release-5.0 generated job.
  • ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-release-5.1.yaml#L101-L121: include the release-5.1 generated job.
📍 Affects 4 files
  • ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-main.yaml#L101-L121 (this comment)
  • ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-release-4.23.yaml#L101-L121
  • ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-release-5.0.yaml#L102-L122
  • ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-release-5.1.yaml#L101-L121
🤖 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
`@ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-main.yaml`
around lines 101 - 121, Regenerate the Prow job artifacts for the
tls-scanner-local-storage test by running make update. Commit the generated
output for
ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-main.yaml
lines 101-121, and add the corresponding generated jobs for
ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-release-4.23.yaml
lines 101-121,
ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-release-5.0.yaml
lines 102-122, and
ci-operator/config/openshift/local-storage-operator/openshift-local-storage-operator-release-5.1.yaml
lines 101-121.

Source: Coding guidelines

@openshift-ci
openshift-ci Bot requested review from dobsonj and tsmetana July 30, 2026 14:41
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 30, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@RomanBednar: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-openshift-local-storage-operator-main-tls-scanner-local-storage openshift/local-storage-operator presubmit Presubmit changed
pull-ci-openshift-local-storage-operator-release-4.23-tls-scanner-local-storage openshift/local-storage-operator presubmit Presubmit changed
pull-ci-openshift-local-storage-operator-release-5.0-tls-scanner-local-storage openshift/local-storage-operator presubmit Presubmit changed
pull-ci-openshift-local-storage-operator-release-5.1-tls-scanner-local-storage openshift/local-storage-operator presubmit Presubmit changed
pull-ci-openshift-local-storage-operator-release-4.23-ci-index-local-storage-operator-bundle openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-release-4.23-e2e-operator openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-release-4.23-e2e-operator-extended openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-release-4.23-images openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-release-4.23-security openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-release-4.23-unit openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-release-4.23-verify openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-release-4.23-verify-deps openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-release-5.1-ci-index-local-storage-operator-bundle openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-release-5.1-e2e-operator openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-release-5.1-e2e-operator-extended openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-release-5.1-images openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-release-5.1-security openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-release-5.1-unit openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-release-5.1-verify openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-release-5.1-verify-deps openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-main-ci-index-local-storage-operator-bundle openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-main-e2e-operator openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-main-e2e-operator-extended openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-main-images openshift/local-storage-operator presubmit Ci-operator config changed
pull-ci-openshift-local-storage-operator-main-security openshift/local-storage-operator presubmit Ci-operator config changed

A total of 36 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs.

A full list of affected jobs can be found here
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals.

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@dfajmon

dfajmon commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

/lgtm

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

openshift-ci Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dfajmon, RomanBednar

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

@RomanBednar

Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@RomanBednar: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-merge-bot openshift-merge-bot Bot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jul 30, 2026
@openshift-ci

openshift-ci Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

@RomanBednar: 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.

@openshift-merge-bot
openshift-merge-bot Bot merged commit a9229cd into openshift:main Jul 30, 2026
16 checks passed
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. 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. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants