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

kubeovn / kube-ovn / 21327352133 / 1
25%
master: 27%

Build:
Build:
LAST BUILD BRANCH: worktree-fix-issue-6982-eip-reset
DEFAULT BRANCH: master
Ran 25 Jan 2026 05:15AM UTC
Files 196
Run time 4s
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

25 Jan 2026 05:09AM UTC coverage: 22.907% (+0.02%) from 22.887%
21327352133.1

push

github

zbb88888
fix(vpc-nat-gw): use consistent provider for all pod annotations (#6204)

The VPC NAT gateway custom routes were not being applied because of
inconsistent annotation key prefixes. The `GenNatGwPodAnnotations`
function was hardcoding the "ovn" prefix for annotations like
`ovn.kubernetes.io/logical_switch`, while `setPodRoutesAnnotation`
was using the actual subnet provider (e.g., "subnet.namespace.ovn").

This caused the CNI daemon to look for routes annotation with a
different key than what was set by the controller, resulting in
routes being ignored.

Changes:
- Add `provider` parameter to `GenNatGwPodAnnotations` function
- Use annotation templates instead of hardcoded constants to generate
  annotation keys dynamically based on the provider
- Remove redundant annotation settings in `EnableNonPrimaryCNI` branch
  since `GenNatGwPodAnnotations` now handles all cases uniformly
- Update unit tests to cover both "ovn" and NAD provider scenarios

Fixes #6202

---------

Signed-off-by: zbb88888 <jmdxjsjgcxy@gmail.com>

12290 of 53652 relevant lines covered (22.91%)

0.27 hits per line

Source Files on job 21327352133.1
  • Tree
  • List 196
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21327352133
  • b29a0ab9 on github
  • Prev Job for on release-1.15 (#21271986231.1)
  • Next Job for on release-1.15 (#21334152051.1)
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