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

kubeovn / kube-ovn / 24754856824
26%

Build:
DEFAULT BRANCH: master
Ran 22 Apr 2026 01:13AM UTC
Jobs 1
Files 207
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 01:10AM UTC coverage: 24.774% (+0.004%) from 24.77%
24754856824

push

github

web-flow
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%)

14015 of 56572 relevant lines covered (24.77%)

0.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24754856824.1 22 Apr 2026 01:13AM UTC 207
24.77
GitHub Action Run
Source Files on build 24754856824
  • Tree
  • List 207
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0b05be73 on github
  • Prev Build on master (#24754669882)
  • Next Build on master (#24755323032)
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