Thanks for contributing to HelmForge Charts.
This repository has stricter rules than a typical Helm charts repo because chart publishing, semantic versioning, security checks, and release notes are automated.
- Write all repository documentation in English.
- Use
mainas the only PR target. - Create or link a GitHub issue for every PR.
- Never edit
versioninChart.yamlmanually. - Use Conventional Commits for commits and PR titles.
- For chart changes, use the exact chart directory name as the scope.
Good examples are
feat(redis): add replication topology,fix(mongodb): correct readiness probe, anddocs(repo): refine contribution guidance.
Always follow this sequence:
git checkout maingit pull --ff-only origin main- Create a new branch from the updated
main. - Make the change.
- Validate locally.
- Commit with a Conventional Commit.
- Push the branch.
- Open a PR to
mainand link the required issue. - Wait for CI to finish.
- Resolve or reply to every review comment.
- Rerun local validation after every correction that changes chart behavior.
Rules:
- Never open branch-to-branch PRs.
- Do not continue new work from an old merged feature branch.
- After a PR is merged, return to
mainand start a fresh branch. - Do not leave unresolved review comments or unanswered requested changes.
- Do not use
kubeconform --ignore-missing-schema; install missing CRDs or provide schema coverage instead.
Recommended branch names:
feat/<chart>-<description>fix/<chart>-<description>refactor/<chart>-<description>docs/<scope>-<description>ci/<description>
When adding a new chart:
- Research official product docs and mature public charts.
- Confirm the latest release in both official GitHub Releases and official image registry tags.
- Only pin a version when both sources match.
- Create
Chart.yaml,values.yaml,values.schema.json,templates/,tests/,ci/,examples/,docs/,README.md, andDESIGN.md. - Add official chart icons using the repository icon standard.
- Update the root README.md when the catalog overview changes.
- Update the
site/repository in the same workstream when public docs, listings, icons, or maturity change. - Validate locally on
k3dbefore pushing the PR.
When changing an existing chart:
- Run the current local validation helper:
./test.sh <chart-name>. - Update tests when template behavior changes.
- Update
values.schema.jsonwhen values change. - Update chart docs when behavior or defaults change.
- Update the
site/repository when the change affects public docs, chart listing, icon, or maturity. - Keep
README.md,DESIGN.md,docs/,examples/,ci/,tests/, andtemplates/NOTES.txtaligned with the established chart standard. - Prefer HelmForge subcharts for databases, caches, queues, and coordination services when the catalog already provides that dependency.
- Use the latest compatible HelmForge dependency versions in
Chart.yaml.
Before any local runtime validation:
- Run
kubectl config current-context. - Confirm the active context is the intended local
k3d-helmforge-tests-wslcluster or another clearly localk3d-context. - Never install, upgrade, or uninstall against a non-local or unclear context.
Required command for chart work:
./test.sh <chart-name>The helper runs the current local equivalent of the PR gates:
helm dependency buildhelm lint --stricthelm templatewith default valueshelm templatefor everyci/*.yamlscenariokubeconform -strictwith Kubernetes schemas and CRD schemas from the Datree CRDs cataloghelm unittest --with-subchart=falsewhentests/existsah lint -pkubescape scan framework "MITRE,NSA,SOC2"
Optional runtime validation:
kubectl config current-context
./test.sh <chart-name> --runtime -f charts/<chart-name>/ci/<scenario>.yamlRuntime validation installs with helm upgrade --install --wait --timeout 120s, checks Kubernetes resources, recent events, and pod logs, then removes the namespace unless --keep-namespace is used.
For every new chart and every release update:
- Local
k3dvalidation is mandatory before pushing the PR. - Validate the default install.
- Validate at least one main non-default supported scenario.
- Restart relevant Deployments or StatefulSets when the change affects startup behavior, persistence, probes, or application configuration.
- Verify logs and namespace events do not contain warnings, startup failures, permission errors, probe failures, crash loops, or image pull failures.
- If the chart includes backup behavior, validate it end-to-end against local MinIO.
Every chart must:
- Include Artifact Hub annotations in
Chart.yaml. - Include
helmforge.dev/maturityinChart.yaml. - Include
values.schema.jsonusing JSON Schema draft-07. - Document
values.yamlkeys using# --comments. - Use product-oriented values and templates rather than generic abstraction.
- Use
ingress.ingressClassName, Gateway API HTTPRoute values, service dual-stack values, and External Secrets patterns consistently with established charts when those features make sense for the workload. - Keep
templates/NOTES.txtuseful for operators, including access paths, credentials guidance, health checks, and next steps adapted to the chart. - Avoid committing
Chart.lockfor charts that use dependencies; dependency resolution is handled during validation and release.
If you add a new chart, you must also update the site/ repository.
If you change public chart metadata or user-visible behavior, update the site/ repository when the website should reflect that change, including:
- New chart pages
- Chart cards or listings
- Sidebar entries
- Maturity changes
- Icons and hosted logo assets
- Documentation examples
Releases are automated by GitHub Actions.
Do not:
- Create git tags manually.
- Create GitHub Releases manually.
- Edit
versioninChart.yaml.
Conventional Commits drive semantic versioning and release notes.
Before considering a PR complete:
- The PR title must pass the semantic PR title workflow.
- All CI, code quality, security, and governance checks must be green.
- Every review comment must be fixed or answered.
- Every requested change must be resolved in the PR conversation.
- The linked issue must be referenced in the PR body.
- Local validation evidence must be listed in the PR body or a follow-up comment.
- Runtime namespaces created during validation must be removed from the local cluster.