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

kubeovn / kube-ovn / 24763132026
25%
master: 25%

Build:
Build:
LAST BUILD BRANCH: ovn-central-controller
DEFAULT BRANCH: master
Ran 22 Apr 2026 06:13AM UTC
Jobs 1
Files 206
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 06:08AM UTC coverage: 24.551% (+0.008%) from 24.543%
24763132026

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

13810 of 56251 relevant lines covered (24.55%)

0.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24763132026.1 22 Apr 2026 06:13AM UTC 206
24.55
GitHub Action Run
Source Files on build 24763132026
  • Tree
  • List 206
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 46f86f05 on github
  • Prev Build on release-1.16 (#24757311978)
  • Next Build on release-1.16 (#24824233761)
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