Skip to content

AUTOSCALE-893: implement tls-scanner for cluster-autoscaler-operator - #82216

Merged
openshift-merge-bot[bot] merged 2 commits into
openshift:mainfrom
LucasAndFlores:add-tls-scanner-cao
Jul 22, 2026
Merged

AUTOSCALE-893: implement tls-scanner for cluster-autoscaler-operator#82216
openshift-merge-bot[bot] merged 2 commits into
openshift:mainfrom
LucasAndFlores:add-tls-scanner-cao

Conversation

@LucasAndFlores

@LucasAndFlores LucasAndFlores commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Updates the OpenShift CI configuration for the cluster-autoscaler-operator AWS end-to-end workflow to run tls-scanner as an additional test step, including wiring a new tls-scanner-tool image and setting scanner-specific environment variables (e.g., PQC_CHECK, SCAN_NAMESPACE) and resource limits.
  • Adjusts Konflux CI cluster group ordering in ci-operator/step-registry/cluster-profiles/cluster-profiles-config.yaml by moving the rh-stg block to follow the rh-prod block, without changing the rh-stg contents.

@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 21, 2026
@openshift-ci-robot

openshift-ci-robot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

@LucasAndFlores: This pull request references AUTOSCALE-893 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.0.0" version, but no target version was set.

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 21, 2026

Copy link
Copy Markdown
Contributor

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: 98d2cbe0-ac9d-480d-bbdc-91427a7ecd9d

📥 Commits

Reviewing files that changed from the base of the PR and between d3e0763 and d72d1fd.

📒 Files selected for processing (1)
  • ci-operator/config/openshift/cluster-autoscaler-operator/openshift-cluster-autoscaler-operator-main.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • ci-operator/config/openshift/cluster-autoscaler-operator/openshift-cluster-autoscaler-operator-main.yaml

Walkthrough

The cluster-autoscaler-operator workflow now includes the TLS scanner image and test configuration. The Konflux cluster profile mapping reorders the rh-stg group after rh-prod.

Changes

TLS scanner CI configuration

Layer / File(s) Summary
Add TLS scanner image and AWS test configuration
ci-operator/config/openshift/cluster-autoscaler-operator/...
Adds the tls-scanner-tool base image and configures scanner environment variables plus the tls-scanner-run test in the OpenShift AWS E2E workflow.

Cluster group ordering

Layer / File(s) Summary
Reorder rh-stg cluster group
ci-operator/step-registry/cluster-profiles/cluster-profiles-config.yaml
Moves the unchanged rh-stg cluster group block after rh-prod.

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

Possibly related PRs

Suggested reviewers: neisw, jkyros

🚥 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: adding tls-scanner support for cluster-autoscaler-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 Only ci-operator YAML changed; no Ginkgo It/Describe/Context/When titles were added or edited, and tls-scanner-run is a static step ref.
Test Structure And Quality ✅ Passed No Ginkgo test files changed; the PR only adjusts ci-operator YAML wiring for e2e steps.
Microshift Test Compatibility ✅ Passed Only CI YAML changed; no new Ginkgo test code was added, and tls-scanner-run is a shell step using kube/SCC, not MicroShift-unsupported OpenShift APIs.
Single Node Openshift (Sno) Test Compatibility ✅ Passed Only CI wiring changed; tls-scanner-run is a generic pod scan step and I found no multi-node or SNO-only assumptions in the added config.
Topology-Aware Scheduling Compatibility ✅ Passed CI-only YAML changes; no workload manifests/controllers, nodeSelectors, anti-affinity, spread constraints, or replica logic were added.
Ote Binary Stdout Contract ✅ Passed PR only changes ci-operator YAML to add tls-scanner step/env and reorder cluster profiles; no process-level stdout writes or binary code were added.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed No new Ginkgo test code was added; the new tls-scanner step uses internal cluster APIs and internal image streams only, with no IPv4-only or public-internet assumptions.
No-Weak-Crypto ✅ Passed The diff only wires in tls-scanner job config; no MD5/SHA1/DES/RC4/3DES/Blowfish/ECB, custom crypto, or secret comparisons appear in the touched files.
Container-Privileges ✅ Passed The PR diff only adds a tls-scanner ref and env vars; no privileged, hostNetwork, hostPID, hostIPC, SYS_ADMIN, or allowPrivilegeEscalation fields appear in changed manifests.
No-Sensitive-Data-In-Logs ✅ Passed The change only wires in existing tls-scanner config and echoes namespace/resource info; no passwords, tokens, PII, hostnames, or customer data are logged.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

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

@openshift-ci
openshift-ci Bot requested review from jkyros and neisw July 21, 2026 12:55
@LucasAndFlores

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-cluster-autoscaler-operator-main-e2e-aws

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@LucasAndFlores

Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@LucasAndFlores: 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 21, 2026

@joelsmith joelsmith 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.

I think this change makes it skip the original E2E test. See my comment below.

SCANNER_CPU: 500m
SCANNER_MEMORY: 1Gi
test:
- ref: tls-scanner-run

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.

I think that we might be overwriting the default test(s) from workflow: openshift-e2e-aws. Compare this PR's run:
https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift_release/82216/rehearse-82216-pull-ci-openshift-cluster-autoscaler-operator-main-e2e-aws/2079562122261434368/artifacts/e2e-aws/
to another recent run:
https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift_kubernetes-autoscaler/426/pull-ci-openshift-kubernetes-autoscaler-main-e2e-aws/2063700150554988544/artifacts/e2e-aws/
You will see that this PRs run is missing the directory for openshift-e2e-test/
I think you just need to add

    - ref: openshift-e2e-test

above the new test ref which is the default test from the workflow

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.

Thanks for catching this Joel, you are right. I added this step and now I can see both directories (openshift-e2e-test and tls-scanner-run) here. Could you please take a look again?

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

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@LucasAndFlores: 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-autoscaler-operator-main-e2e-aws openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-e2e-aws-operator openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-e2e-aws-periodic-pre openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-e2e-azure-periodic-pre openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-e2e-gcp-periodic-pre openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-e2e-nutanix-operator openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-e2e-openstack-periodic-pre openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-e2e-upgrade openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-e2e-vsphere-periodic-pre openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-generate openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-goimports openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-golint openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-govet openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-images openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-okd-scos-e2e-aws-ovn openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-okd-scos-images openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-regression-clusterinfra-gcp-ipi-autoscaler openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-security openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-unit openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-cluster-autoscaler-operator-main-verify-deps openshift/cluster-autoscaler-operator presubmit Ci-operator config changed
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.

@LucasAndFlores

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-cluster-autoscaler-operator-main-e2e-aws

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@LucasAndFlores
LucasAndFlores requested a review from joelsmith July 22, 2026 12:36
@LucasAndFlores

Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@LucasAndFlores: 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 22, 2026
@joelsmith

Copy link
Copy Markdown
Contributor

/lgtm
I think we'll need to get @elmiko to /approve for the first change. For the other change, I think you'll need to ask for a PR review in Slack in #ocp-test-platform

@elmiko elmiko 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.

/approve

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

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci

openshift-ci Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danilo-gemoli, elmiko, joelsmith, LucasAndFlores

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 Jul 22, 2026
@openshift-merge-bot
openshift-merge-bot Bot merged commit c716ab7 into openshift:main Jul 22, 2026
11 of 18 checks passed
apahim pushed a commit to apahim/release that referenced this pull request Jul 24, 2026
…penshift#82216)

* feat(cao): implement tls-scanner

* chore(cao): add test command
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.

5 participants