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

opendefensecloud / solution-arsenal / 25343901139
72%

Build:
DEFAULT BRANCH: main
Ran 04 May 2026 09:29PM UTC
Jobs 1
Files 31
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

04 May 2026 09:14PM UTC coverage: 70.607% (-2.1%) from 72.737%
25343901139

push

github

web-flow
feat: poc implementation resource grants for common use cases (#474)

## What
Implements a ResourceGrant CRD enabling three cross-namespace reference
patterns: Profile→Target, Target→Registry, and Release→ComponentVersion
Closes #314

## Testing
Integration and e2e Tests were added

## Notes for reviewers
- New CRD: ResourceGrant
- ReleaseSpec gains componentVersionNamespace (optional string).
Same-namespace behaviour is unchanged.
- TargetSpec gains renderRegistryNamespace (optional string).
Same-namespace behaviour is unchanged.


## Checklist
- [x] Tests added/updated
- [x] No breaking changes (or upgrade path documented above)
- [x] Readable commit history (squashed and cleaned up as desired)
- [x] AI code review considered and comments resolved


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## New Features

- Added `ResourceGrant` API resource to authorize cross-namespace
resource access
- Releases can now resolve ComponentVersions from different namespaces
- ReleaseBindings can target Targets in different namespaces
- Targets can reference render Registries from different namespaces
- Profile matching now supports selecting Targets across namespaces

## Documentation

- Updated API reference with `ResourceGrant` specification and new
namespace field documentation

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

214 of 372 new or added lines in 4 files covered. (57.53%)

17 existing lines in 2 files now uncovered.

2258 of 3198 relevant lines covered (70.61%)

42.52 hits per line

Uncovered Changes

Lines Coverage ∆ File
97
64.5
-11.45% pkg/controller/target_controller.go
38
75.19
-4.17% pkg/controller/profile_controller.go
22
80.14
-2.55% pkg/controller/release_controller.go
1
50.0
-1.52% cmd/solar-apiserver/main.go

Coverage Regressions

Lines Coverage ∆ File
11
64.5
-11.45% pkg/controller/target_controller.go
6
88.61
-1.37% pkg/controller/rendertask_controller.go
Jobs
ID Job ID Ran Files Coverage
1 25343901139.1 04 May 2026 09:29PM UTC 31
70.61
GitHub Action Run
Source Files on build 25343901139
  • Tree
  • List 31
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25343901139
  • bb70d8a5 on github
  • Prev Build on main (#25314465231)
  • Next Build on main (#25368188389)
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