• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

k8snetworkplumbingwg / multi-networkpolicy-iptables
58%
master: 58%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/golang.org/x/oauth2-0.27.0
DEFAULT BRANCH: master
Repo Added 18 Feb 2021 06:05PM UTC
Token ZJTcU8Q6KUXP3eIc0LnnJzrwBMFfH2vmx regen
Build 207 Last
Files 9
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH us/OCPBUGS-45980
branch: us/OCPBUGS-45980
CHANGE BRANCH
x
Reset
Sync Branches
  • us/OCPBUGS-45980
  • bond-cni
  • bump-cobra
  • bump-vendor
  • codeql
  • cve
  • default-protocol
  • dependabot/go_modules/github.com/containernetworking/cni-0.8.1
  • dependabot/go_modules/github.com/containernetworking/plugins-0.8.6
  • dependabot/go_modules/golang.org/x/oauth2-0.27.0
  • dependabot/go_modules/google.golang.org/grpc-1.53.0
  • dependabot/go_modules/google.golang.org/grpc-1.56.3
  • dependabot/go_modules/google.golang.org/protobuf-1.33.0
  • dependabot/go_modules/gopkg.in/yaml.v3-3.0.0
  • dev/add-ipblock-e2e
  • dev/add-notice
  • dev/ipv6
  • dev/refine-policy
  • dev/update-ci
  • dev/update-golang
  • e2e
  • e2e-debug
  • e2e-testing
  • e2e-update-image
  • enable-e2e
  • fix-cve
  • fix-revive
  • fix-typo-in-container-registry-domain
  • fix/14
  • fix/cap
  • fix/dependabot
  • fix/dependabot-alerts
  • fix/list-rule-return
  • fix/remove-docker
  • fix/update-mem-limit
  • fix/warning
  • fix/wrong-iptables
  • improve-logging
  • ipv6
  • ipv6-bug-fix
  • log-filter-rules
  • master
  • namespaces
  • ocpbugs-974
  • patch-1
  • remove-field
  • remove-v1alpha2
  • stop-signals
  • update-action
  • update-e2e
  • update-k8s
  • update-prom-vendor
  • us-OCPBUGS-36468
  • us/CVE-2024-45338
  • us/OCPBUGS-44354
  • us/e2e-fix-flakes
  • us/end-port
  • us/end-port-e2e
  • v1beta2

12 Jun 2025 10:04AM UTC coverage: 58.32% (+0.1%) from 58.208%
15607622077

Pull #77

github

zeeke
Give precendence to IPBlock field over PodSelector

As per API description [1]:
> IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be."

if a policy rule has a from/to rule with an IPBlock field,
then the PodSelector and NamespaceSelector fields must be ignored.

[1] https://github.com/k8snetworkplumbingwg/multi-networkpolicy/blob/master/scheme.yml#L88

Signed-off-by: Andrea Panattoni <apanatto@redhat.com>
Pull Request #77: Give precendence to IPBlock field over PodSelector

129 of 161 new or added lines in 1 file covered. (80.12%)

2 existing lines in 1 file now uncovered.

1132 of 1941 relevant lines covered (58.32%)

0.67 hits per line

Relevant lines Covered
Build:
Build:
1941 RELEVANT LINES 1132 COVERED LINES
0.67 HITS PER LINE
Source Files on us/OCPBUGS-45980
  • Tree
  • List 9
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
15607622077 us/OCPBUGS-45980 Give precendence to IPBlock field over PodSelector As per API description [1]: > IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be." if a policy rule has a from/to rule with an IPBlock f... Pull #77 12 Jun 2025 10:08AM UTC zeeke github
58.32
See All Builds (87)

Badge your Repo: multi-networkpolicy-iptables

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc