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

kubernetes-sigs / kubebuilder / 34466419817
87%
master: 87%

Build:
Build:
LAST BUILD BRANCH: labels-cleanup
DEFAULT BRANCH: master
Ran 10 Sep 2026 10:38AM 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

10 Sep 2026 10:30AM UTC coverage: 87.372% (+4.6%) from 82.774%
34466419817

push

github

web-flow
📖  Update docs regards release v4.16.0 (#6035)

* fix(go/v4): always emit resource:path for cluster-scoped SSA resources

Cluster-scoped SSA kinds with a regular plural were generating
+kubebuilder:resource:scope=Cluster without an explicit path. Emit
path=<plural>,scope=Cluster whenever SSA is enabled.

* fix(cli): always clean up alpha update temporary branches

cleanupTempBranches ran only on the success path, leaving tmp-ancestor,
tmp-original, and tmp-upgrade branches after mid-flight errors.

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>

* (go/v4): Add test coverage for the --ssa workflow

* ⚠️ (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

* (go... (continued)

1436 of 1486 new or added lines in 41 files covered. (96.64%)

9 existing lines in 4 files now uncovered.

8898 of 10184 relevant lines covered (87.37%)

339.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
18
76.38
15.58% pkg/plugins/optional/helm/v2alpha/scaffolds/internal/extractor/features.go
14
89.48
2.54% pkg/plugins/optional/helm/v2alpha/scaffolds/internal/extractor/deployment.go
4
78.99
20.51% pkg/plugins/golang/v4/webhook.go
3
41.94
12.39% pkg/plugins/optional/autoupdate/v1alpha/edit.go
3
97.05
1.95% pkg/plugins/optional/helm/v2alpha/scaffolds/internal/kustomize/templater/appliers/labels.go
2
96.58
14.21% pkg/cli/cli.go
2
82.93
20.81% pkg/cli/cmd_helpers.go
2
95.32
12.71% pkg/config/store/yaml/store.go
2
96.15
-0.32% pkg/plugins/optional/helm/v2alpha/scaffolds/internal/kustomize/templater/appliers/manager.go

Coverage Regressions

Lines Coverage ∆ File
5
96.15
-0.32% pkg/plugins/optional/helm/v2alpha/scaffolds/internal/kustomize/templater/appliers/manager.go
2
95.32
12.71% pkg/config/store/yaml/store.go
1
96.58
14.21% pkg/cli/cli.go
1
94.07
0.26% pkg/plugins/optional/helm/v2alpha/scaffolds/internal/kustomize/parser.go
Jobs
ID Job ID Ran Files Coverage
1 34466419817.1 10 Sep 2026 10:38AM UTC 103
87.37
GitHub Action Run
Source Files on build 34466419817
  • Tree
  • List 103
  • Changed 46
  • Source Changed 0
  • Coverage Changed 46
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fc08741e on github
  • Prev Build on book-v4 (#27534472742)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc