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

camilamacedo86 / kubebuilder / 20602236751

30 Dec 2025 05:31PM UTC coverage: 61.503% (+0.05%) from 61.457%
20602236751

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

dd

74 of 78 new or added lines in 5 files covered. (94.87%)

87 existing lines in 1 file now uncovered.

5951 of 9676 relevant lines covered (61.5%)

26.57 hits per line

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

0.0
/pkg/plugins/optional/helm/v2alpha/scaffolds/edit_kustomize.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