feat: ocp_resource plan - Add a few missing parameters#2545
feat: ocp_resource plan - Add a few missing parameters#2545myakove merged 2 commits intoRedHatQE:mainRedHatQE/openshift-python-wrapper:mainfrom
Conversation
WalkthroughAdds optional Plan fields for volume/network naming, static IP preservation, and target placement: extends Plan.init to accept new parameters, assigns them to instance attributes, and updates Plan.to_dict() to emit the new spec keys when provided. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🔇 Additional comments (4)
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
Container Operations
Cherry-pick Operations
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
|
/approve |
1 similar comment
|
/approve |
|
/verified |
- pvcNameTemplate - volumeNameTemplate - networkNameTemplate - preserveStaticIPs - targetNodeSelector - targetLabels - targetAffinity
|
/verified |
|
/approve |
|
/cherry-pick v4.20 |
- pvcNameTemplate - volumeNameTemplate - networkNameTemplate - preserveStaticIPs - targetNodeSelector - targetLabels - targetAffinity Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com>
|
Cherry-picked PR feat: ocp_resource plan - Add a few missing parameters into v4.20 |
- pvcNameTemplate - volumeNameTemplate - networkNameTemplate - preserveStaticIPs - targetNodeSelector - targetLabels - targetAffinity Co-authored-by: Marián Krčmárik <mkrcmari@redhat.com> Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com>
Summary by CodeRabbit