Skip to content

STOR-3001: Add TLS jobs for storage components under cluster storage operator - #83039

Open
dfajmon wants to merge 1 commit into
openshift:mainfrom
dfajmon:tls-tests
Open

STOR-3001: Add TLS jobs for storage components under cluster storage operator#83039
dfajmon wants to merge 1 commit into
openshift:mainfrom
dfajmon:tls-tests

Conversation

@dfajmon

@dfajmon dfajmon commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

AWS EBS
AZURE DISK
AZURE FILE
GCP PD
IBM VPC BLOCK
CINDER
MANILA
POWERVS BLOCK
VSPHERE
VOLUME DATA SOURCE VALIDATOR

Summary by CodeRabbit

This PR updates OpenShift CI configuration for the Cluster Storage Operator in releases 4.23, 5.0, 5.1, and main.

It adds optional TLS 1.3 scanner jobs for storage components on AWS, Azure, GCP, IBM VPC, OpenStack, PowerVS, and vSphere. It also adds a scanner job for VolumeDataSourceValidator.

Each job defines the required cluster profile, workflow, scanner resources, namespace, TLS adherence settings, and tls-13/tls-scanner-run test references.

…operator

AWS EBS
AZURE DISK
AZURE FILE
GCP PD
IBM VPC BLOCK
CINDER
MANILA
POWERVS BLOCK
VSPHERE
VOLUME DATA SOURCE VALIDATOR
@openshift-ci-robot

openshift-ci-robot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

@dfajmon: This pull request references STOR-3001 which is a valid jira issue.

Details

In response to this:

AWS EBS
AZURE DISK
AZURE FILE
GCP PD
IBM VPC BLOCK
CINDER
MANILA
POWERVS BLOCK
VSPHERE
VOLUME DATA SOURCE VALIDATOR

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/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Aug 6, 2026
@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Walkthrough

The change adds optional TLS 1.3 scanner jobs to four cluster-storage-operator CI configurations. The jobs cover cloud, virtualization, and storage validation workflows with platform-specific profiles, resources, namespaces, workflows, and test references.

Changes

Storage operator TLS scanner coverage

Layer / File(s) Summary
Standard platform scanner jobs
ci-operator/config/openshift/cluster-storage-operator/openshift-cluster-storage-operator-*.yaml
Added AWS EBS, Azure Disk/File, and GCP persistent-disk scanner jobs across the main and release 4.23, 5.0, and 5.1 configurations.
Specialized platform and validator jobs
ci-operator/config/openshift/cluster-storage-operator/openshift-cluster-storage-operator-*.yaml
Added IBM VPC Block, OpenStack Cinder/Manila, PowerVS Block, vSphere, and VolumeDataSourceValidator scanner jobs with provider-specific settings and workflows.

Estimated code review effort: 2 (Simple) | ~15 minutes

Possibly related PRs


Important

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

❌ Failed checks (1 error)

Check name Status Explanation Resolution
Container-Privileges ❌ Error All 32 new jobs invoke tls-scanner-run, which creates a Pod with privileged: true, hostNetwork: true, hostPID: true, and runAsUser: 0. Use a restricted scanner Pod without privileged, hostNetwork, hostPID, or root access, or provide an approved narrow-privilege design.
✅ Passed checks (14 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the addition of TLS jobs for storage components under the cluster 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 The PR changes only YAML CI and generated presubmit configurations. Added identifiers are static, and the diff contains no Ginkgo It, Describe, Context, or When titles or dynamic title construction.
Test Structure And Quality ✅ Passed The commit changes only eight YAML CI configuration files; it adds no Ginkgo test code, It blocks, resource setup, waits, or assertions to review.
Microshift Test Compatibility ✅ Passed The commit changes only eight YAML CI configuration/job files and adds no Ginkgo test declarations or test source; the MicroShift compatibility check is not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed The commit changes only YAML CI configuration and generated Prow job files; it adds no Ginkgo tests or multi-node test logic.
Topology-Aware Scheduling Compatibility ✅ Passed The patch only adds optional ci-operator TLS test definitions and generated Prow jobs; it adds no workload manifests or topology scheduling constraints.
Ote Binary Stdout Contract ✅ Passed The commit changes only YAML configs and generated presubmit jobs. No executable OTE source or process-level stdout writes were added; jobs only reference existing TLS steps.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The commit adds only CI YAML configuration and generated job files; it adds no Ginkgo declarations, IPv4 literals, or public external URLs.
No-Weak-Crypto ✅ Passed The complete PR diff adds only CI YAML and generated Prow jobs; boundary-aware scans found no MD5, SHA1, DES, 3DES, RC4, Blowfish, ECB, crypto implementation, or secret comparison.
No-Sensitive-Data-In-Logs ✅ Passed The eight changed files add only YAML job configuration; scans found no log/output operations or credential literals, and secret entries are references and mounts, not logged.
✨ 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/cluster-storage-operator/openshift-cluster-storage-operator-main.yaml`:
- Around line 225-348: Run make update to generate and commit the required
zz_generated_metadata and Prow job outputs for the structural CI jobs in
ci-operator/config/openshift/cluster-storage-operator/openshift-cluster-storage-operator-main.yaml:225-348,
openshift-cluster-storage-operator-release-4.23.yaml:225-348,
openshift-cluster-storage-operator-release-5.0.yaml:226-349, and
openshift-cluster-storage-operator-release-5.1.yaml:225-348; do not hand-edit
generated files.
🪄 Autofix

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: 2810462d-da08-4646-b14f-d0d43505c688

📥 Commits

Reviewing files that changed from the base of the PR and between d3c6320 and 4a89425.

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

Comment on lines +225 to +348
- always_run: false
as: tls-scanner-aws-ebs
optional: true
steps:
cluster_profile: openshift-org-aws
env:
SCAN_NAMESPACE: openshift-cluster-csi-drivers
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: ipi-aws
- always_run: false
as: tls-scanner-azure-disk-azure-file
optional: true
steps:
cluster_profile: openshift-org-azure
env:
SCAN_NAMESPACE: openshift-cluster-csi-drivers
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: ipi-azure
- always_run: false
as: tls-scanner-gcp-pd
optional: true
steps:
cluster_profile: openshift-org-gcp
env:
SCAN_NAMESPACE: openshift-cluster-csi-drivers
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: ipi-gcp
- always_run: false
as: tls-scanner-ibm-vpc-block
optional: true
steps:
cluster_profile: ibmcloud
env:
SCAN_NAMESPACE: openshift-cluster-csi-drivers
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: ipi-ibmcloud
- always_run: false
as: tls-scanner-openstack-cinder-manila
optional: true
steps:
cluster_profile: openstack-vexxhost
env:
BASE_DOMAIN: shiftstack.devcluster.openshift.com
CONFIG_TYPE: minimal
SCAN_NAMESPACE: openshift-cluster-csi-drivers
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: ipi-openstack
- always_run: false
as: tls-scanner-powervs-block
optional: true
steps:
cluster_profile: powervs-6
env:
ARCH: ppc64le
BRANCH: "5.0"
SCAN_NAMESPACE: openshift-cluster-csi-drivers
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: ipi-powervs
- always_run: false
as: tls-scanner-vsphere
optional: true
steps:
cluster_profile: vsphere-elastic
env:
SCAN_NAMESPACE: openshift-cluster-csi-drivers
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: ipi-vsphere
- always_run: false
as: tls-scanner-volumedatasourcevalidator
optional: true
steps:
cluster_profile: openshift-org-aws
env:
SCAN_NAMESPACE: openshift-cluster-storage-operator
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: ipi-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.

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Generate the CI job outputs.

These new as entries add structural CI jobs. The PR contains only source configurations. Run make update and commit the generated metadata and Prow job changes. Do not hand-edit generated files.

  • ci-operator/config/openshift/cluster-storage-operator/openshift-cluster-storage-operator-main.yaml#L225-L348: generate outputs for the main jobs.
  • ci-operator/config/openshift/cluster-storage-operator/openshift-cluster-storage-operator-release-4.23.yaml#L225-L348: generate outputs for the 4.23 jobs.
  • ci-operator/config/openshift/cluster-storage-operator/openshift-cluster-storage-operator-release-5.0.yaml#L226-L349: generate outputs for the 5.0 jobs.
  • ci-operator/config/openshift/cluster-storage-operator/openshift-cluster-storage-operator-release-5.1.yaml#L225-L348: generate outputs for the 5.1 jobs.

As per coding guidelines, “run make update after changes to regenerate zz_generated_metadata and Prow jobs.”

📍 Affects 4 files
  • ci-operator/config/openshift/cluster-storage-operator/openshift-cluster-storage-operator-main.yaml#L225-L348 (this comment)
  • ci-operator/config/openshift/cluster-storage-operator/openshift-cluster-storage-operator-release-4.23.yaml#L225-L348
  • ci-operator/config/openshift/cluster-storage-operator/openshift-cluster-storage-operator-release-5.0.yaml#L226-L349
  • ci-operator/config/openshift/cluster-storage-operator/openshift-cluster-storage-operator-release-5.1.yaml#L225-L348
🤖 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/cluster-storage-operator/openshift-cluster-storage-operator-main.yaml`
around lines 225 - 348, Run make update to generate and commit the required
zz_generated_metadata and Prow job outputs for the structural CI jobs in
ci-operator/config/openshift/cluster-storage-operator/openshift-cluster-storage-operator-main.yaml:225-348,
openshift-cluster-storage-operator-release-4.23.yaml:225-348,
openshift-cluster-storage-operator-release-5.0.yaml:226-349, and
openshift-cluster-storage-operator-release-5.1.yaml:225-348; do not hand-edit
generated files.

Source: Coding guidelines

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@dfajmon: 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-cluster-storage-operator-main-tls-scanner-aws-ebs openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-main-tls-scanner-azure-disk-azure-file openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-main-tls-scanner-gcp-pd openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-main-tls-scanner-ibm-vpc-block openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-main-tls-scanner-openstack-cinder-manila openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-main-tls-scanner-powervs-block openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-main-tls-scanner-volumedatasourcevalidator openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-main-tls-scanner-vsphere openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-release-4.23-tls-scanner-aws-ebs openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-release-4.23-tls-scanner-azure-disk-azure-file openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-release-4.23-tls-scanner-gcp-pd openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-release-4.23-tls-scanner-ibm-vpc-block openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-release-4.23-tls-scanner-openstack-cinder-manila openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-release-4.23-tls-scanner-powervs-block openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-release-4.23-tls-scanner-volumedatasourcevalidator openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-release-4.23-tls-scanner-vsphere openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-release-5.0-tls-scanner-aws-ebs openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-release-5.0-tls-scanner-azure-disk-azure-file openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-release-5.0-tls-scanner-gcp-pd openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-release-5.0-tls-scanner-ibm-vpc-block openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-release-5.0-tls-scanner-openstack-cinder-manila openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-release-5.0-tls-scanner-powervs-block openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-release-5.0-tls-scanner-volumedatasourcevalidator openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-release-5.0-tls-scanner-vsphere openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-release-5.1-tls-scanner-aws-ebs openshift/cluster-storage-operator presubmit Presubmit changed

A total of 32 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.

@openshift-ci

openshift-ci Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dfajmon

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-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 6, 2026
@openshift-ci
openshift-ci Bot requested review from dobsonj and stephenfin August 6, 2026 13:36
@dfajmon

dfajmon commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-cluster-storage-operator-main-tls-scanner-aws-ebs pull-ci-openshift-cluster-storage-operator-main-tls-scanner-azure-disk-azure-file pull-ci-openshift-cluster-storage-operator-main-tls-scanner-gcp-pd pull-ci-openshift-cluster-storage-operator-main-tls-scanner-ibm-vpc-block pull-ci-openshift-cluster-storage-operator-main-tls-scanner-openstack-cinder-manila pull-ci-openshift-cluster-storage-operator-main-tls-scanner-powervs-block pull-ci-openshift-cluster-storage-operator-main-tls-scanner-volumedatasourcevalidator pull-ci-openshift-cluster-storage-operator-main-tls-scanner-vsphere

@openshift-ci

openshift-ci Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor

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

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants