-
Notifications
You must be signed in to change notification settings - Fork 20
Add a talm.discovered.system_disk_nvme_id helper #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
""" WalkthroughA new Helm template helper, Changes
Sequence Diagram(s)sequenceDiagram
participant HelmTemplate as Helm Template
participant SystemDiskNameHelper as talm.discovered.system_disk_name
participant DiskLookup as Discovered Disks
HelmTemplate->>SystemDiskNameHelper: Get system disk name
SystemDiskNameHelper-->>HelmTemplate: Return disk name
HelmTemplate->>DiskLookup: Iterate over disks
alt Disk matches name, is NVMe, and has WWID
HelmTemplate-->>HelmTemplate: Construct '/dev/disk/by-id/nvme-<wwid>' path
HelmTemplate-->>Caller: Return stable NVMe disk path
else No matching disk found
HelmTemplate-->>Caller: Return original disk name with fallback comment
end
Estimated code review effort1 (<30 minutes) Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
fbcf78b to
00cc64b
Compare
|
@wasd171 thank you for your contribution! |
Signed-off-by: Konstantin Nesterov <[email protected]>
Signed-off-by: Konstantin Nesterov <[email protected]>
094dd2e to
b0869f8
Compare
Closes #64
Summary by CodeRabbit