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

camilamacedo86 / kubebuilder / 20602368421

30 Dec 2025 05:39PM UTC coverage: 61.429% (-0.02%) from 61.445%
20602368421

push

github

camilamacedo86
🐛 (helm/v2-alpha): Use namePrefix for resource names to respect kustomize

Resource names were hardcoded causing mismatch when kustomize namePrefix
is customized or chart is renamed.

Changes:
- Detect namePrefix from kustomize via EstimatePrefix
- Add namePrefix to values.yaml with kustomize-style comment
- Template all resource names with {{ .Values.namePrefix }}
- Use {{ include "chart.name" . }} for labels only
- Rename projectName → detectedPrefix for clarity
- Add E2E tests for custom prefix and chart renaming

Generic regex handles all name fields. Respects kustomize while
allowing Helm customization.

Assisted-by: CLAUDE

dd

dd

70 of 74 new or added lines in 5 files covered. (94.59%)

109 existing lines in 3 files now uncovered.

5950 of 9686 relevant lines covered (61.43%)

26.55 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

94.93
/pkg/plugins/optional/helm/v2alpha/scaffolds/internal/templates/values_basic.go


Source Not Available

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