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

kubernetes-sigs / kubebuilder / 27897537671
84%

Build:
DEFAULT BRANCH: master
Ran 21 Jun 2026 07:42AM 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

21 Jun 2026 07:40AM UTC coverage: 83.047% (+0.2%) from 82.887%
27897537671

push

github

web-flow
🐛 fix(helm/v2-alpha): strip custom volumes from manager template to prevent duplication (#5764)

fix(helm/v2-alpha): strip custom volumes from deployment object to prevent duplication

Custom volumes (e.g. user-added configMaps, secrets) appeared both as
literal entries in the generated manager.yaml template AND via
{{ toYaml .Values.manager.extraVolumes }}, causing duplication at install time.

The fix is in the extractor: after ExtractDeploymentConfig extracts custom
volumes into ValuesConfig, StripCustomVolumes removes them from the
deployment object. Since yaml.Marshal runs on the cleaned object, custom
volumes never appear in the template — they only flow through values.yaml.

System volumes (webhook-certs, metrics-certs) are kept in the object so they
render as conditionals in the template.

Manager container resolution now uses the kubectl.kubernetes.io/default-container
annotation (falling back to "manager", then containers[0]), consistent with
the templater's GetDefaultContainerName. The annotation key and fallback name
are lifted into the shared common package so both resolvers reference the
same constants.

Related: 5718

49 of 58 new or added lines in 3 files covered. (84.48%)

7887 of 9497 relevant lines covered (83.05%)

85.33 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
87.14
0.19% pkg/plugins/optional/helm/v2alpha/scaffolds/internal/extractor/deployment.go
Jobs
ID Job ID Ran Files Coverage
1 27897537671.1 21 Jun 2026 07:42AM UTC 103
83.05
GitHub Action Run
Source Files on build 27897537671
  • Tree
  • List 103
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 87bc57ee on github
  • Prev Build on master (#27808158161)
  • Next Build on master (#27905554615)
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