CORENET-6958: add remaining CNO NetworkPolicies#2959
CORENET-6958: add remaining CNO NetworkPolicies#2959danwinship wants to merge 2 commits intoopenshift:masterfrom
Conversation
|
@danwinship: This pull request references CORENET-6958 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 "4.22.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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
✅ Files skipped from review due to trivial changes (3)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughFive new Kubernetes NetworkPolicy manifests were added: cloud-network-config-controller (managed and self-hosted), network-node-identity, ovn-kubernetes, and a default-deny policy in the CNCC namespace, each declaring pod selectors and appropriate ingress/egress rules. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 10✅ Passed checks (10 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danwinship The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@danwinship: This pull request references CORENET-6958 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 "4.22.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. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@manifests/01-cncc-namespace.yaml`:
- Around line 17-29: The NetworkPolicy named "default-deny" has
metadata.namespace set to openshift-cloud-network-config-operator while the
manifest's Namespace resource is openshift-cloud-network-config-controller;
update the NetworkPolicy's metadata.namespace to exactly
"openshift-cloud-network-config-controller" (or vice versa so both names match)
so the default-deny policy applies to the CNCC namespace, ensuring the resource
name "default-deny" and the metadata.namespace fields are consistent.
🪄 Autofix (Beta)
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: Pro
Run ID: 04eb63c6-4d3c-4206-875c-c5f280324eb2
📒 Files selected for processing (5)
bindata/cloud-network-config-controller/managed/networkpolicy.yamlbindata/cloud-network-config-controller/self-hosted/networkpolicy.yamlbindata/network/node-identity/managed/node-identity-networkpolicy.yamlbindata/network/ovn-kubernetes/managed/networkpolicy.yamlmanifests/01-cncc-namespace.yaml
f02e217 to
5f788de
Compare
|
@danwinship: This pull request references CORENET-6958 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 "4.22.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. |
|
/retest |
|
@danwinship: 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. |
Primarily policies for HyperShift, which we had dropped from #2892 due to lack of CI signal, but this also includes the policies for CNCC, which were accidentally omitted from that PR. (I think I got confused before because CNCC's namespace is created from the manifests rather than from bindata...)
Summary by CodeRabbit
New Features
Chores