Helm in Depth — From Charts to a Platform Library›Delivery and operations · Cheat sheet & self-check

Delivery and operations · wrap-up

Cheat sheet & self-check

Every command from this section on one page.

07 · Helm with Argo CD

Argo CD with Helm

argocd app manifests ordersWhat Argo CD rendered from the chart
argocd app diff ordersRendered chart vs live cluster
argocd app get orders --show-paramsHelm parameters and value files in use
helm list -AShows nothing for Argo-managed apps: Argo CD does not create Helm releases

08 · Distributing and securing charts

OCI charts

helm package ./ordersCreate orders-0.1.0.tgz
helm push orders-0.1.0.tgz oci://registry.example.com/chartsPublish to an OCI registry
helm pull oci://registry.example.com/charts/orders --version 0.1.0Fetch a specific version
cosign sign registry.example.com/charts/orders@sha256:<digest>Sign the chart artifact by digest
cosign verify --key cosign.pub registry.example.com/charts/orders:0.1.0Verify before use
helm template x <chart> | grep -E '^\s*image:' | sort -uList images a chart will deploy (for mirroring)

09 · Failed upgrades and recovery

Diagnose

helm status orders -n shopCurrent revision and status
helm history orders -n shopdeployed / failed / pending-upgrade per revision
kubectl get events -n shop --sort-by=.lastTimestamp | tail -20What Kubernetes refused or is waiting for
kubectl get secret -n shop -l owner=helm,name=orders -L status,versionRevision Secrets and their status labels

Recover

helm rollback orders <last-deployed-revision> -n shopReturn to the last good revision
kubectl annotate <kind>/<name> -n shop meta.helm.sh/release-name=orders meta.helm.sh/release-namespace=shopAdopt an existing object (plus label app.kubernetes.io/managed-by=Helm)

10 · Capstone: from copied charts to one library

Common chart anti-patterns

Everything configurableHundreds of values; nobody knows which matter; untestable
Logic in templatesDeep if/else nesting instead of simple defaults
Secrets in valuesPasswords in Git and in every release revision
Floating versionsUnpinned dependencies and latest image tags
Missing defaultsNo probes, resources, securityContext or PDB
CRDs in templates/Uninstall deletes every custom resource
Manual helm install in productionNo review, no audit trail, drift