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

kubeovn / kube-ovn / 28771023007
27%

Build:
DEFAULT BRANCH: master
Ran 06 Jul 2026 06:02AM UTC
Jobs 1
Files 218
Run time 1min
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

06 Jul 2026 05:57AM UTC coverage: 27.47% (-0.004%) from 27.474%
28771023007

push

github

web-flow
fix: validate vlan id within range [0, 4095] (#6995)

The Vlan CRD id (and deprecated vlanId) field had no schema validation:
the doc comment claimed 0-4095 but nothing enforced it. Out-of-range
values were silently accepted by the apiserver and only rejected later
when a subnet referencing the vlan tried to create its localnet port
(SetLogicalSwitchPortVlanTag returns "invalid vlan id"), leaving the
Vlan object looking healthy while every subnet using it failed.

Add kubebuilder Minimum/Maximum validation so invalid VLAN IDs are
rejected at admission time instead of failing late and opaquely.

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>

16677 of 60710 relevant lines covered (27.47%)

0.32 hits per line

Coverage Regressions

Lines Coverage ∆ File
265
3.89
-0.01% pkg/controller/vpc_nat_gateway.go
54
5.92
-0.06% pkg/daemon/handler.go
Jobs
ID Job ID Ran Files Coverage
1 28771023007.1 06 Jul 2026 06:02AM UTC 218
27.47
GitHub Action Run
Source Files on build 28771023007
  • Tree
  • List 218
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8a9efc40 on github
  • Prev Build on master (#28725219779)
  • Next Build on master (#28776727854)
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

© 2026 Coveralls, Inc