bumping-helm-chart
Ensures that all necessary tasks have been performed for a Helm Chart bump.
When & Why to Use This Skill
This Claude skill automates the Helm Chart versioning and release process, ensuring consistency across Chart.yaml, README files, and application versions. It streamlines DevOps workflows by automatically generating documentation via helm-docs and maintaining strict versioning standards for Kubernetes deployments, reducing manual errors during infrastructure updates.
Use Cases
- 1. Automated Version Bumping: Ensures that Chart.yaml and appVersion are perfectly synchronized during software releases to maintain deployment integrity.
- 2. Documentation Synchronization: Automatically updates version badges and generates technical documentation using helm-docs to keep repository information current and accurate.
- 3. DevOps Workflow Standardization: Enforces best practices for Helm chart maintenance by automating repetitive pre-commit tasks and ensuring consistent formatting before code commits.
| name | helm-chart-bump |
|---|---|
| description | Ensures that all necessary tasks have been performed for a Helm Chart bump. |
Bumping Helm Chart
Instructions
- Ensure the chart version in deploy/charts/operator/Chart.yaml is updated based on what you're told
- Ensure the same version change to the badge deploy/charts/operator/README.md
- Ensure the appVersion in deploy/charts/operator/Chart.yaml matches the version of the image that is being bumped to
- Go to the
.pre-commit-config.yamlin the root of this repo and run thehelm-docshook command specifically with the args found in the file, nothing else. Do not run thepre-commitcommand as you will not have access to the binary. You do have access to thehelm-docsbinary so only run thehelm-docscommand with the args found in the./pre-commit.yamlfile. - Please make sure you do not format the files at all before you commit, just run the
helm-docscommand and commit what is output.
Best practices
- Use present tense
- Explain what and why, not how