OCPBUGS-23969,OCPBUGS-64886: Merge https://github.com/k8snetworkplumbingwg/sriov-network-operator:master into main#1230
OCPBUGS-23969,OCPBUGS-64886: Merge https://github.com/k8snetworkplumbingwg/sriov-network-operator:master into main#1230SchSeba wants to merge 12 commits into
Conversation
Signed-off-by: Sebastian Sch <sebassch@gmail.com>
add validation webhooks for netfilter nic selector
When a SriovNetwork has a LASTNETWORKNAMESPACE annotation pointing to a namespace where the old NetworkAttachmentDefinition no longer exists, the reconciler returned a NotFound error and blocked creation of the new NAD. Handle NotFound errors gracefully by logging and continuing, so cleanup of non-existent resources does not prevent forward progress. Also fixes swapped Namespace/Name fields in the error log message. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fix the rdma test, when the device plugin is restarted, the allocatable resource goes to 0 and then back to the original value that caused the test to fail. To not have a flaky test we don't use the consistency check, but an eventually check. Signed-off-by: Sebastian Sch <sebassch@gmail.com>
Fix NAD creation blocked by stale LASTNETWORKNAMESPACE annotation
1975115 to
a726344
Compare
fix rdma test
22244a7 to
7b8bf41
Compare
8e66677 to
8c6017f
Compare
|
/retitle OCPBUGS-64886: Merge https://github.com/k8snetworkplumbingwg/sriov-network-operator:master into main |
|
@SchSeba: This pull request references Jira Issue OCPBUGS-64886, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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. |
|
/jira refresh |
38e86d5 to
a8e9194
Compare
|
/lgtm |
Add .coderabbit.yaml with free_tier enabled for this open-source project, based on the OpenShift coderabbit config but tailored to the SR-IOV network operator codebase. Key customizations: - Enable free_tier (open-source project) - No custom_checks (OpenShift-specific checks removed) - No C/C++ path_instructions (project has no kernel module source files) - Comprehensive path_instructions covering SR-IOV-specific concerns: - Go code: error handling, nil checks on hardware info structs, klog - CRD API types: kubebuilder markers, backward compatibility, webhook consistency - Controllers: idempotent reconcile, finalizer handling, RBAC annotations - Daemon: sysfs/procfs path safety, drain annotations, privileged ops - Vendor NIC plugins: plugin interface, VF limits, switchdev/Mellanox specifics - Webhooks: consistent validation, mutation idempotency - Manifests: security contexts, SR-IOV-specific CRD validation - E2E tests: Ginkgo patterns, VF cleanup, generous hardware timeouts - Supply chain: go.mod checks with openshift/api version coordination - Security tooling: gitleaks, semgrep, checkov, hadolint, trivy, osvScanner, actionlint, ast-grep all enabled
a8e9194 to
097d5d3
Compare
65a5233 to
9926282
Compare
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v5...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
9926282 to
4a405d8
Compare
…eate-coderabbit-yaml-for-sriov-network create .coderabbit yaml for sriov-network-operator project
4a405d8 to
17e1c93
Compare
|
@SchSeba: all tests passed! 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. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: SchSeba, zeeke 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 |
…t/github_actions/actions/checkout-7 build(deps): bump actions/checkout from 5 to 7
17e1c93 to
717a185
Compare
|
New changes are detected. LGTM label has been removed. |
No description provided.