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

camilamacedo86 / kubebuilder / 21544721402
74%
master: 74%

Build:
Build:
LAST BUILD BRANCH: add-namesapced-support
DEFAULT BRANCH: master
Ran 31 Jan 2026 12:58PM UTC
Jobs 1
Files 100
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

31 Jan 2026 12:48PM UTC coverage: 73.664% (-0.01%) from 73.678%
21544721402

push

github

camilamacedo86
feat(go/v4): add namespace-scoped manager support

Add --namespaced flag to scaffold managers that watch only specific namespace(s),
enabling least-privilege deployments and multi-tenant architectures.

Changes:
- Add --namespaced flag to init and edit commands
- Scaffold Role/RoleBinding instead of ClusterRole/ClusterRoleBinding
- Add WATCH_NAMESPACE environment variable to manager deployment
- Add helper functions in cmd/main.go (getWatchNamespace, setupCacheNamespaces)
- Controllers automatically get namespace parameter in RBAC markers
- Support converting existing projects with 'kubebuilder edit --namespaced=true'
- Add comprehensive migration guide and reference documentation
- Add e2e test validating namespace isolation behavior
- Add integration test validating scaffolding correctness
- Update testdata project to demonstrate namespace-scoped configuration

Assisted-by: Cursor/Claude

42 of 59 new or added lines in 7 files covered. (71.19%)

6674 of 9060 relevant lines covered (73.66%)

40.26 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
80.0
5.93% pkg/plugins/golang/v4/edit.go
2
92.0
-8.0% pkg/machinery/injector.go
3
93.88
-6.12% pkg/machinery/mixins.go
3
62.6
-0.6% pkg/plugins/golang/v4/init.go
8
87.21
-3.17% pkg/config/v3/config.go
Jobs
ID Job ID Ran Files Coverage
1 21544721402.1 31 Jan 2026 12:58PM UTC 100
73.66
GitHub Action Run
Source Files on build 21544721402
  • Tree
  • List 100
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 66cb2b37 on github
  • Prev Build on master (#21541429640)
  • Delete
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