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

opendefensecloud / solution-arsenal / 31585127502
80%

Build:
DEFAULT BRANCH: main
Ran 12 Aug 2026 10:20AM UTC
Jobs 1
Files 88
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

12 Aug 2026 09:55AM UTC coverage: 80.3% (-1.8%) from 82.081%
31585127502

push

github

web-flow
feat: pull secrets provision added for deployments to solar via ocm-kit (#739)

## What
Moves helm values-template rendering out of discovery and into
`solar-renderer`, so
the rendered values are computed per-Target and can carry that target's
registry pull
secrets. Charts can now emit `imagePullSecrets` on the workloads they
create, without
the user setting any `Release.spec.values`.
Closes #560 

## Why
FluxCD resources have their pull secrets
(`OCIRepository.spec.secretRef`), but the workloads
the chart itself creates came out with no `imagePullSecrets` if not
explicitly suplpied by
the user. Those Deployments failed to pull from private registries.

## Testing
- **Unit:** `pkg/renderer/values_template_test.go` (template rendering,
pull-secret
merging, credential/consumer-identity setup),
`pkg/ociregistry/host_test.go`,
`api/solar/v1alpha1/component_types_test.go` (`OCMRef` incl. empty-name
degradation).
- **envtest:** `pkg/controller/rendertask_sourcecreds_test.go` covers
both source-secret
shapes landing correctly on the render Job; `target_controller_test.go`
extended for
`ref`/`pullSecrets`/`sourceSecretRef` propagation and tag-drift on
binding changes.
- **e2e:** new `test/e2e` contexts "helm values templating" and "pull
secrets for chart
workloads" — the latter builds a CTF from
`test/fixtures/pullsecret-demo`, transfers it
into the in-cluster registry, creates a Release with **no** values, and
asserts the
pull secret appears both in the rendered ConfigMap and on the resulting
Deployment.
Last full green run was against the pre-`third_party`-removal tree;
worth one more
  `make test-e2e` before merge.

## Notes for reviewers

- `HelmResourceMetadata.valuesTemplate` is gone from `ComponentVersion`.

 - `ComponentSpec.name` is new and only written by discovery. Components
discovered before this change have an empty `name`, so `OCMRef` returns
`""` and the
renderer silently skips values-template rendering. A re-scan repopulates
the field.


## C... (continued)

207 of 275 new or added lines in 10 files covered. (75.27%)

6 existing lines in 3 files now uncovered.

5466 of 6807 relevant lines covered (80.3%)

32.69 hits per line

Uncovered Changes

Lines Coverage ∆ File
53
40.45
pkg/renderer/values_template.go
6
81.45
-3.23% cmd/solar-renderer/main.go
5
78.44
-0.07% pkg/controller/target_controller.go
2
87.81
1.23% pkg/controller/rendertask_controller.go
2
89.47
-10.53% pkg/renderer/render_release.go

Coverage Regressions

Lines Coverage ∆ File
2
73.13
-2.99% pkg/controller/registrybinding_controller.go
2
87.81
1.23% pkg/controller/rendertask_controller.go
2
78.44
-0.07% pkg/controller/target_controller.go
Jobs
ID Job ID Ran Files Coverage
1 31585127502.1 12 Aug 2026 10:20AM UTC 88
80.3
GitHub Action Run
Source Files on build 31585127502
  • Tree
  • List 88
  • Changed 13
  • Source Changed 12
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31585127502
  • 8e3f8cba on github
  • Prev Build on main (#31376073002)
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