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

camilamacedo86 / kubebuilder / 21515360778
74%
master: 74%

Build:
Build:
LAST BUILD BRANCH: test-add-helm
DEFAULT BRANCH: master
Ran 30 Jan 2026 12:20PM 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

30 Jan 2026 12:10PM UTC coverage: 73.653%. Remained the same
21515360778

push

github

camilamacedo86
fix(namespace-scoped): Prevent controller-gen from overwriting namespace-scoped RBAC

This commit fixes the issue where controller-gen was regenerating
ClusterRole/ClusterRoleBinding for namespace-scoped projects, overwriting
the correct Role/RoleBinding created during initialization.

Changes:
1. Added Namespaced field to Makefile template struct
2. Modified Makefile template to conditionally exclude RBAC generation
   for namespace-scoped projects
3. Pass IsNamespaced() config value to Makefile during init scaffolding

For namespace-scoped projects:
- make manifests now runs: controller-gen crd webhook (no RBAC)
- This preserves the Role/RoleBinding created during init

For cluster-scoped projects (default):
- make manifests runs: controller-gen rbac:roleName=manager-role crd webhook
- Behavior unchanged

This ensures namespace-scoped projects maintain correct RBAC permissions
(Role instead of ClusterRole) throughout the project lifecycle.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

6670 of 9056 relevant lines covered (73.65%)

40.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21515360778.1 30 Jan 2026 12:20PM UTC 100
73.65
GitHub Action Run
Source Files on build 21515360778
  • Tree
  • List 100
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b83a98cc on github
  • Prev Build on add-namesapced-support (#21512930761)
  • Next Build on add-namesapced-support (#21517459457)
  • 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