Skip to content

Add documentation for filesToSign wildcard and glob pattern support#1748

Merged
openshift-merge-bot[bot] merged 1 commit intorh-ecosystem-edge:mainfrom
TomerNewman:doc-wildcard
Feb 16, 2026
Merged

Add documentation for filesToSign wildcard and glob pattern support#1748
openshift-merge-bot[bot] merged 1 commit intorh-ecosystem-edge:mainfrom
TomerNewman:doc-wildcard

Conversation

@TomerNewman
Copy link
Member

@TomerNewman TomerNewman commented Feb 15, 2026

Doc update for the new glob support feature when signing kmods - explicit paths and Bash globs paths.

Summary by CodeRabbit

  • Documentation
    • Enhanced documentation for the secure boot signing workflow with clarifications on the filesToSign requirement.
    • Added detailed examples of supported input formats (full paths and Bash shell glob patterns).
    • Documented path location constraints for module files.

Doc update for the new glob support feature when signing kmods - explicit paths and Bash globs paths.
@netlify
Copy link

netlify bot commented Feb 15, 2026

Deploy Preview for openshift-kmm ready!

Name Link
🔨 Latest commit 010da8b
🔍 Latest deploy log https://app.netlify.com/projects/openshift-kmm/deploys/699191c81a3a750008c7dd5a
😎 Deploy Preview https://deploy-preview-1748--openshift-kmm.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@openshift-ci
Copy link

openshift-ci bot commented Feb 15, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: TomerNewman

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

@TomerNewman
Copy link
Member Author

/assign @ybettan @yevgeny-shnaidman

@coderabbitai
Copy link

coderabbitai bot commented Feb 15, 2026

Walkthrough

Documentation updates clarifying the signing configuration requirements and specifications for the filesToSign field, including supported input formats (full paths and Bash glob patterns), path constraints relative to dirName, and expanded narrative on kmod loading behavior based on MOK and secure-boot status.

Changes

Cohort / File(s) Summary
Documentation Updates for Signing Configuration
docs/mkdocs/documentation/deploy_kmod.md, docs/mkdocs/documentation/secure_boot.md
Added inline comment clarifying filesToSign requirement when sign is defined, introduced dedicated section on filesToSign specifications, documented supported input forms with examples, specified path constraint relative to dirName, and extended narrative on kmod loading behavior based on MOK presence and secure-boot status.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Suggested labels

approved, lgtm

Suggested reviewers

  • ybettan
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 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 main change: adding documentation for filesToSign wildcard and glob pattern support, which is the primary focus of the documentation updates across both files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


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 and usage tips.

@TomerNewman
Copy link
Member Author

@openshift-ci openshift-ci bot requested review from ybettan and yevgeny-shnaidman and removed request for bthurber and enriquebelarte February 15, 2026 09:29
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@docs/mkdocs/documentation/secure_boot.md`:
- Line 117: The sentence contains a grammatical error "nodes with that match the
selector"; update the text to read "nodes that match the selector" (or
alternately "nodes with that selector") so the sentence becomes: "KMM should
then load the signed kmods onto all the nodes that match the selector." Locate
and replace the phrase in the secure_boot.md content where "nodes with that
match the selector" appears.
🧹 Nitpick comments (1)
docs/mkdocs/documentation/deploy_kmod.md (1)

241-241: Align terminology with secure_boot.md for consistency.

The phrase "Bash shell absolute globs" is confusing because globs are patterns, not paths. In secure_boot.md (line 152), this is phrased more clearly as "Bash shell glob(s)". Additionally, using "absolute paths" here while secure_boot.md uses "full path(s)" creates unnecessary inconsistency.

📝 Suggested terminology alignment
-            # Required when sign is set. Use absolute paths or Bash shell absolute globs (e.g. /opt/lib/modules/<kernel-version>/*.ko), see Secure Boot docs.
+            # Required when sign is set. Use full path(s) or Bash shell glob(s) (e.g. /opt/lib/modules/<kernel-version>/*.ko), see Secure Boot docs.


All paths in `filesToSign` must be under the directory defined by **`dirName`** in the same `moduleLoader.container.modprobe` (default `/opt`).

KMM should then load the signed kmods onto all the nodes with that match the selector.
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Fix grammatical error.

The phrase "nodes with that match" is grammatically incorrect.

✏️ Proposed fix
-KMM should then load the signed kmods onto all the nodes with that match the selector.
+KMM should then load the signed kmods onto all the nodes that match the selector.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
KMM should then load the signed kmods onto all the nodes with that match the selector.
KMM should then load the signed kmods onto all the nodes that match the selector.
🤖 Prompt for AI Agents
In `@docs/mkdocs/documentation/secure_boot.md` at line 117, The sentence contains
a grammatical error "nodes with that match the selector"; update the text to
read "nodes that match the selector" (or alternately "nodes with that selector")
so the sentence becomes: "KMM should then load the signed kmods onto all the
nodes that match the selector." Locate and replace the phrase in the
secure_boot.md content where "nodes with that match the selector" appears.

@TomerNewman
Copy link
Member Author

/retest

@ybettan
Copy link
Member

ybettan commented Feb 16, 2026

Fixes #1746

@ybettan
Copy link
Member

ybettan commented Feb 16, 2026

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Feb 16, 2026
@openshift-merge-bot openshift-merge-bot bot merged commit 1ec2ff1 into rh-ecosystem-edge:main Feb 16, 2026
21 checks passed
@TomerNewman TomerNewman deleted the doc-wildcard branch February 16, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants