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

kubeovn / kube-ovn / 24765307185
24%
master: 25%

Build:
Build:
LAST BUILD BRANCH: worktree-fix-cniserver-socket-liveness
DEFAULT BRANCH: master
Ran 22 Apr 2026 07:15AM UTC
Jobs 1
Files 202
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

22 Apr 2026 07:11AM UTC coverage: 23.718% (+0.001%) from 23.717%
24765307185

push

github

oilbeater
fix(speaker): require NODE_NAME and inject POD_IPS in v2 chart (#6669)

* fix(speaker): require NODE_NAME and inject POD_IPS in v2 chart

Follow-up to #6664. Two related hardening changes:

1. Add POD_IPS env to the kube-ovn-v2 speaker DaemonSet so dual-stack
   nodes expose both v4 and v6 pod addresses, matching yamls/speaker.yaml
   and the fallback logic in pkg/speaker/config.go.

2. Make an empty --node-name fail the speaker at startup instead of
   silently skipping every pod under the BGP "local" policy. The check
   is added to validateRequiredFlags so the error is aggregated with
   other missing flags.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>

* fix(speaker): skip --node-name requirement in NAT GW mode

Addresses Copilot review feedback on #6669.

The BGP speaker runs in two modes:
  - regular: syncSubnetRoutes reads config.NodeName to match the BGP
    "local" policy against pod.Spec.NodeName.
  - --nat-gw-mode: syncEIPRoutes only, never reads NodeName.

util.GenNatGwBgpSpeakerContainer injects GATEWAY_NAME / POD_IP / POD_IPS
but no NODE_NAME, which would make the previous unconditional check
crash every VPC NAT GW speaker pod at startup. Gate the requirement on
!NatGwMode and add a regression test case covering NAT GW mode with
empty NodeName.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>

---------

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

3 of 3 new or added lines in 1 file covered. (100.0%)

2 existing lines in 1 file now uncovered.

12950 of 54600 relevant lines covered (23.72%)

0.28 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
61.61
-0.62% pkg/ovs/ovn-nb-bfd.go
Jobs
ID Job ID Ran Files Coverage
1 24765307185.1 22 Apr 2026 07:15AM UTC 202
23.72
GitHub Action Run
Source Files on build 24765307185
  • Tree
  • List 202
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 41c2a578 on github
  • Prev Build on release-1.15 (#24757323597)
  • Next Build on release-1.15 (#24831453396)
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