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

kubeovn / kube-ovn / 20330086341
23%

Build:
DEFAULT BRANCH: master
Ran 18 Dec 2025 08:06AM UTC
Jobs 1
Files 192
Run time 2min
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

18 Dec 2025 08:01AM UTC coverage: 22.666% (+0.3%) from 22.355%
20330086341

push

github

web-flow
feat: add vendor tagging for OVN resources and migration support (#6001)

Add vendor=kube-ovn externalID to all OVN resources created by kube-ovn
to distinguish them from resources created by external systems like
OpenStack Neutron. This prevents kube-ovn from accidentally garbage
collecting or modifying resources it doesn't own.

Changes:
- Add version tracking in NBGlobal.ExternalIDs["kube-ovn-version"]
- Add migration that runs only when upgrading from versions < v1.15.0
- Auto-tag new resources: AddressSet, PortGroup, LoadBalancer,
  LogicalRouterPort, ACL
- Update GC functions to only operate on vendor=kube-ovn resources
- Update CleanNoParentKeyAcls to skip non-kube-ovn ACLs
- Add pattern matching to identify existing kube-ovn resources during
  migration (security groups, network policies, load balancers)

The migration identifies kube-ovn resources using:
- Existing externalIDs (lr, ls, sg, parent, subnet)
- Naming patterns (ovn.sg.*, cluster-*-loadbalancer, vpc-*-load)
- Association with tagged logical routers/switches

Resources that cannot be positively identified as kube-ovn owned are
left untouched to avoid interfering with external systems.

Fixes: #5995

Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>

268 of 468 new or added lines in 9 files covered. (57.26%)

2 existing lines in 1 file now uncovered.

12044 of 53136 relevant lines covered (22.67%)

0.26 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
9
0.94
0.31% pkg/controller/gc.go
12
0.0
0.0% pkg/controller/init.go
13
77.59
-0.48% pkg/ovs/ovn-nb-acl.go
166
59.31
pkg/ovs/ovn-nb-migration.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
74.6
-0.53% pkg/ovs/ovn-nb-logical_router_route.go
Jobs
ID Job ID Ran Files Coverage
1 20330086341.1 18 Dec 2025 08:06AM UTC 192
22.67
GitHub Action Run
Source Files on build 20330086341
  • Tree
  • List 192
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 055891da on github
  • Prev Build on master (#20323768490)
  • Next Build on master (#20330664063)
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