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

kubeovn / kube-ovn / 17601237263
23%

Build:
DEFAULT BRANCH: master
Ran 10 Sep 2025 02:31AM UTC
Jobs 1
Files 185
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

10 Sep 2025 02:25AM UTC coverage: 21.232% (-0.1%) from 21.329%
17601237263

push

github

web-flow
Feat: Added non primary cni mode support for Kube-OVN (#5618)

* Add support for secondary CNI configuration

Signed-off-by: Vishal Mohan <vishalmohan@microsoft.com>

* Enhanced VPC NAT gateway to work with secondary interface

Signed-off-by: Vishal Mohan <vishalmohan@microsoft.com>

* Enhance NAT gateway and pod handling for non-primary CNI support

Signed-off-by: Vishal Mohan <vishalmohan@microsoft.com>

* Fixed compile

Signed-off-by: Vishal Mohan <vishalmohan@microsoft.com>

* Fix typo in TODO comment and improve error handling in getNadInterfaceFromNetworkStatusAnnotation

Signed-off-by: Vishal Mohan <vishalmohan@microsoft.com>

* Refactor getNadInterfaceFromNetworkStatusAnnotation to util package and update references in VPC NAT gateway

Signed-off-by: Vishal Mohan <vishalmohan@microsoft.com>

* Add support for non-primary CNI mode and improve VPC NAT gateway handling

- Introduced non-primary CNI configuration in values.yaml.
- Updated controller deployment to include non-primary CNI flag.
- Refactored NAT gateway script to use correct environment file path.
- Enhanced endpoint slice handling to utilize secondary IPs.
- Simplified pod provider extraction logic for VPC NAT gateway.
- Improved annotation management for VPC CIDRs in NAT gateway.

Signed-off-by: Vishal Mohan <vishalmohan@microsoft.com>

* Apply suggestions from code review

Signed-off-by: Vishal Mohan <vishalmohan@microsoft.com>

* Fixed lint
- Refactor variable type from 'interface{}' to 'any' in GetNadInterfaceFromNetworkStatusAnnotation for clarity
- Fixed pod routes annotation to use subnetProvider variable in vpc nat gw genNatGwStatefulSet

Signed-off-by: Vishal Mohan <vishalmohan@microsoft.com>

* fix lint issues

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

* Refactor endpoint slice handling to improve secondary IP address updates and add conditional provider retrieval for VPC NAT gateway support

Signed-off-by: Vishal Mohan <vishalmohan@microsoft.com>

* Updated He... (continued)

0 of 250 new or added lines in 5 files covered. (0.0%)

4 existing lines in 3 files now uncovered.

10659 of 50202 relevant lines covered (21.23%)

0.25 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
0.0
0.0% pkg/controller/config.go
20
41.18
-58.82% pkg/util/network_attachment.go
43
0.0
0.0% pkg/controller/pod.go
67
7.78
-0.95% pkg/controller/endpoint_slice.go
117
0.0
0.0% pkg/controller/vpc_nat_gateway.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% pkg/controller/pod.go
1
0.0
0.0% pkg/controller/vpc_nat_gateway.go
2
74.6
-0.53% pkg/ovs/ovn-nb-logical_router_route.go
Jobs
ID Job ID Ran Files Coverage
1 17601237263.1 10 Sep 2025 02:31AM UTC 185
21.23
GitHub Action Run
Source Files on build 17601237263
  • Tree
  • List 185
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4129c0a1 on github
  • Prev Build on master (#17600673356)
  • Next Build on master (#17629638864)
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