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

kubernetes-sigs / kubebuilder / 28748277250
84%

Build:
DEFAULT BRANCH: master
Ran 05 Jul 2026 05:06PM UTC
Jobs 1
Files 103
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

05 Jul 2026 05:02PM UTC coverage: 83.898% (+0.007%) from 83.891%
28748277250

push

github

web-flow
⚠️ (go/v4): Remove deprecated `legacy` webhook flag introduced to help users migrate to the new layout where webhooks are under internal path (#5837)

breaking(go/v4): Remove deprecated --legacy webhook flag

The --legacy flag on `create webhook` scaffolded webhooks under the API
directory, the layout used before Kubebuilder v4.3.0. It was added in 2024
as a temporary migration aid after controller-runtime moved webhooks out
of the API package. The flag is create time only: it is not recorded in
the PROJECT file and the `alpha generate` flow never replays it, since
getWebhookResourceFlags only emits the --programmatic-validation,
--defaulting, --conversion and external API flags. A project scaffolded
with --legacy is therefore regenerated into the current layout regardless.
With the reorganize layout migration guide now available, the flag only
adds maintenance burden.

Remove the flag and its isLegacyPath plumbing from the go/v4 plugin (the
scaffolder, plus the IsLegacyPath branches and *Legacy template variants
in the webhook, webhook test, suite test and main.go templates), delete
the legacy-webhook-path CI workflow, its testdata script and the
`make test-legacy` target that ran it (with its .gitignore entry), and
update the deprecated flag example in the cli-descriptions skill.

Ref: https://github.com/kubernetes-sigs/kubebuilder/issues/5834

0 of 1 new or added line in 1 file covered. (0.0%)

7993 of 9527 relevant lines covered (83.9%)

97.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
69.01
-0.27% pkg/plugins/golang/v4/webhook.go
Jobs
ID Job ID Ran Files Coverage
1 28748277250.1 05 Jul 2026 05:06PM UTC 103
83.9
GitHub Action Run
Source Files on build 28748277250
  • Tree
  • List 103
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0d43e58e on github
  • Prev Build on master (#28731203807)
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