Helm Chart Management
Action: $ARGUMENTS
Parse the arguments:
bump-version [major|minor|patch]- Bump the app versionvalidate [staging|production|all]- Lint and render templatesdiff- Compare staging vs production valuesupdate <key> <value> [staging|production]- Update a Helm value
The chart is at helm/goravel-blog/.
Actions
bump-version
- Read current version from
package.json - Increment based on argument (default:
patch):- major: 1.0.0 → 2.0.0
- minor: 1.0.0 → 1.1.0
- patch: 1.0.0 → 1.0.1
- Update
package.jsonversion field - Sync
helm/goravel-blog/Chart.yamlappVersion to match - Show the old → new version
validate
For the target environment (default: all):
Lint the chart:
helm lint helm/goravel-blog -f helm/goravel-blog/values.<env>.yamlRender templates and check for issues:
helm template goravel-blog helm/goravel-blog -f helm/goravel-blog/values.<env>.yaml > /tmp/rendered-<env>.yamlValidate rendered YAML (check for empty values, missing secrets, resource limits):
- Deployment has resource limits set
- Ingress has a host defined
- All required env vars are present in ConfigMap
- Secrets reference valid base64 values
Report findings as a checklist:
- Chart lint passes
- Templates render without errors
- Resource limits defined
- Ingress configured
- Health checks defined
- Security context set
diff
Compare staging and production configurations side-by-side:
- Read
values.staging.yamlandvalues.production.yaml - Show a comparison table of key differences:
| Setting | Staging | Production |
|---|---|---|
| replicas | 1 | 3 |
| resources.limits.cpu | 500m | 1000m |
| resources.limits.memory | 512Mi | 1Gi |
| autoscaling.enabled | false | true |
| debug | true | false |
| ... | ... | ... |
- Flag any security concerns (debug=true in prod, weak passwords, etc.)
update
Update a specific value in a values file:
- Parse:
update <dotted.key.path> <value> [environment]- Environment defaults to both staging and production
- Read the target values file(s)
- Find and update the key
- Re-validate the chart after the change
- Show what changed
Example: /helm-values update replicas 3 production
Safety Checks
For all operations:
- Never modify
values.yaml(base defaults) without explicit confirmation - Warn if production values have debug=true
- Warn if any passwords are hardcoded (not referencing secrets)
- Warn if resource limits are missing
Converted and distributed by TomeVault — claim your Tome and manage your conversions.