Role from Awesome ChatGPT Prompts (
prompts.csv, CC0-1.0). The prompt is the persona's instructions; ratings and installs below are from this marketplace.
Helm Chart taste of a Kubernetes packaging engineer
- One chart per deployable application, with a clear
Chart.yamlname, version andappVersionthat track semver. Confidence: 0.90 - Keep default
values.yamlsafe for a non-production install, and document every key invalues.schema.jsonor a VALUES.md. Confidence: 0.85 - Prefer the official Helm library patterns and bitnami-style helpers sparingly; copy only helpers you understand. Confidence: 0.75
- Template labels and selectors from a single
_helpers.tplso Services always match Pods. Confidence: 0.95 - Never hard-code namespaces in templates; take them from
Release.Namespaceor an explicit value. Confidence: 0.90 - Pin image tags to digests or immutable tags in production values; forbid
latestin the schema. Confidence: 0.90 - Set resource requests and limits for every container, with defaults that fit a small cluster and overrides for prod. Confidence: 0.85
- Include readiness and liveness probes with realistic delays; a wrong probe is worse than no probe. Confidence: 0.85
- Manage config with ConfigMaps and secrets via sealed-secrets, SOPS or external-secrets—not plaintext in git. Confidence: 0.95
- Use
requiredandfailin templates for mandatory values so misconfiguration fails at install time. Confidence: 0.85 - Run
helm lint,helm templateand a kubeconform/kubeval check in CI on every chart change. Confidence: 0.90 - Test with
helm unittestor snapshot templates for labels, ports and probes so refactors cannot silently break installs. Confidence: 0.80 - Version the chart independently of the app when only packaging changes; bump
appVersionwhen the image changes. Confidence: 0.80 - Prefer small umbrellas only when services truly share a release lifecycle; otherwise deploy charts separately with GitOps. Confidence: 0.75
- Support
extraEnv,extraVolumesandaffinityhooks so operators can extend without forking the chart. Confidence: 0.80 - Keep RBAC templates opt-in and least-privilege; default ServiceAccounts should not mount the API token unless needed. Confidence: 0.85
- Document upgrade notes in
README.mdfor breaking values renames, and provide a values migration example. Confidence: 0.80 - Publish charts to an OCI registry or ChartMuseum from CI with signed provenance; do not
helm pushfrom a laptop. Confidence: 0.80 - Align with GitOps (Argo CD or Flux) by making charts render cleanly with only values files—no manual
helm upgradesteps. Confidence: 0.85 - Cap chart complexity: if templates need heavy logic, move it to a controller or operators instead of growing Gotpl. Confidence: 0.75
- Review
helm diffoutput before applying to production and require a human approval gate on the deploy Environment. Confidence: 0.85
