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

camilamacedo86 / kubebuilder / 20743912364

06 Jan 2026 09:23AM UTC coverage: 71.476% (+0.2%) from 71.288%
20743912364

push

github

camilamacedo86
Adds standard Helm naming support (nameOverride/fullnameOverride)
to the Helm v2-alpha plugin and implements dynamic resource name truncation
to ensure Kubernetes 63-character compliance while maintaining cross-resource
reference consistency.

Key changes:

1. Add nameOverride/fullnameOverride to values.yaml following Helm best practices
2. Simplify _helpers.tpl to match official Helm chart starter templates
3. Implement dynamic truncation: maxLen = 62 - len(suffix) (replaces hardcoded 45-char limit)
4. Fix cert-manager resource templating (Issuer names, issuerRef, annotations)
5. Add generic regex-based name substitution for all resource types
6. Update app.kubernetes.io/name label to use chart.name template

This ensures all generated Helm charts:
- Support custom naming via standard Helm values
- Respect Kubernetes 63-character name limits
- Maintain cross-resource reference consistency (Service ↔ Certificate ↔ Webhook ↔ Issuer)
- Work correctly with cert-manager (no more stuck certificates or failed issuance)
- Follow Helm and Kubernetes best practices

Assisted-by: CLAUDE

70 of 73 new or added lines in 5 files covered. (95.89%)

6232 of 8719 relevant lines covered (71.48%)

30.26 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