-
Notifications
You must be signed in to change notification settings - Fork 106
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
OCPBUGS-18409: [release-4.13] Allow creating policies that ignore NUMA topology #798
OCPBUGS-18409: [release-4.13] Allow creating policies that ignore NUMA topology #798
Conversation
We use more expressive return types and also reduce cyclomatic complexity.
The function mainly creates and updates ResourceConfig in the list. Split the function into two smaller ones. Adjust unit test to satisfy `SriovNetworkNodePolicyReconciler` dependencies through fake client. Signed-off-by: Andrea Panattoni <[email protected]>
Add field `SriovNetworkNodePolicy.Spec.ExcludeTopology` and forward it to the sriov-device-plugin configuration. Signed-off-by: Andrea Panattoni <[email protected]>
Multiple SriovNetworkNodePolicies may target the same resource, but the new field must have the same value. Add a resource validation step to ensure this condition is met. Refactor `Spec.NicSelector.PfNames` check to its own function. Signed-off-by: Andrea Panattoni <[email protected]>
aab8900
to
45a685c
Compare
/hold |
/retest |
/test ? |
@zeeke: The following commands are available to trigger required jobs:
The following commands are available to trigger optional jobs:
Use In 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 kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zeeke you are missing the make manifest bundle
I don't see the CRD updated on the bundle folder
Signed-off-by: Andrea Panattoni <[email protected]>
/hold cancel |
This relates to https://issues.redhat.com/browse/CNF-9055 |
/lgtm |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bn222, SchSeba, zeeke The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/jira cherrypick OCPBUGS-18407 |
@zeeke: Jira Issue OCPBUGS-18407 has been cloned as Jira Issue OCPBUGS-18409. Will retitle bug to link to clone. In 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 kubernetes/test-infra repository. |
@zeeke: This pull request references Jira Issue OCPBUGS-18409, which is valid. The bug has been moved to the POST state. 6 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In 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 kubernetes/test-infra repository. |
@zeeke: This pull request references Jira Issue OCPBUGS-18409, which is valid. 6 validation(s) were run on this bug
Requesting review from QA contact: In 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 kubernetes/test-infra repository. |
/label cherry-pick-approved |
@zeeke: all tests passed! Full PR test history. Your PR dashboard. 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 kubernetes/test-infra repository. I understand the commands that are listed here. |
@zeeke: Jira Issue OCPBUGS-18409: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-18409 has been moved to the MODIFIED state. In 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 kubernetes/test-infra repository. |
Backport of
Adding
to avoid conflicts