feat(Plan): add runPreflightInspection field#2758
Conversation
Add support for the spec.runPreflightInspection boolean field on the Plan CR. This field controls whether preflight deep inspection runs on warm migrations (default: true via kubebuilder). Ref: forklift pkg/apis/forklift/v1beta1/plan.go:331-335
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughAdded an optional ChangesPlan resource preflight inspection support
Estimated code review effort: 1 (Trivial) | ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Cherry-pick Operations
Branch Management
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
AI Features
Security Checks
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
PR Summary by QodoAdd Plan spec.runPreflightInspection support
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
|
/verified |
|
/lgtm |
Summary
Add support for the
spec.runPreflightInspectionboolean field on the Plan CR.This field controls whether preflight deep inspection runs on warm migrations. It defaults to
truevia kubebuilder (+kubebuilder:default:=trueinplan.go:331-335).Changes
4 standard touch points in
ocp_resources/plan.py:__init__parameter (bool | None = None)selfassignmentto_dict()conditionalFollows the same pattern as
enable_nested_virtualization,skip_guest_conversion, etc.Ref
pkg/apis/forklift/v1beta1/plan.go:331-335Summary by CodeRabbit