CNF-26431: Allow ironic-networking JSON-RPC port in NetworkPolicy - #1530
CNF-26431: Allow ironic-networking JSON-RPC port in NetworkPolicy#1530alegacy wants to merge 1 commit into
Conversation
WalkthroughThe metal NetworkPolicy now permits TCP ingress on port 6190 for the ironic networking JSON-RPC service. ChangesMetal NetworkPolicy ingress
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@install/0000_90_machine-api-operator_05_networkpolicy-allow-ingress-metal.yaml`:
- Around line 32-33: Update the network policy rule for TCP port 6190 to include
a `from` restriction and limit ingress to the required source workloads, while
narrowing the selected target pods if necessary so only the intended workloads
receive this access; do not leave the rule broadly applicable to every pod.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: d4234e0a-46a6-4934-a2bd-7928aa6c0618
📒 Files selected for processing (1)
install/0000_90_machine-api-operator_05_networkpolicy-allow-ingress-metal.yaml
Add port 6190 to the allow-ingress-metal NetworkPolicy to permit ingress traffic to the ironic-networking service's JSON-RPC endpoint. Without this, the default-deny policy blocks the ironic container from reaching the networking service when switch management is enabled. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Allain Legacy <alegacy@redhat.com>
6f6e47a to
68ba6d2
Compare
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
|
@alegacy: This pull request references CNF-26431 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 story to target the "5.0.0" version, but no target version was set. DetailsIn 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. |
|
@alegacy: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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 kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Add port 6190 to the allow-ingress-metal NetworkPolicy to permit ingress traffic to the ironic-networking service's JSON-RPC endpoint. Without this, the default-deny policy blocks the ironic container from reaching the networking service when switch management is enabled.
Summary by CodeRabbit