Interview Prep/Helm/Helm 3 Architecture & Release Storage

What is inside a release Secret and how do you decode it?

AdvancedConceptHelm 3 Architecture & Release Storage
Answer

The release key holds a JSON document (chart metadata and templates, merged config values, rendered manifest, hooks, status, revision, timestamps) that Helm gzips and base64-encodes. Kubernetes then base64-encodes the Secret data again.

kubectl get secret sh.helm.release.v1.shop.v3 -n shop \
  -o jsonpath='{.data.release}' | base64 -d | base64 -d | gunzip | jq '.info.status, .config'

Labels on the Secret (name, owner=helm, status, version) let Helm query releases without decoding every record.

All Helm questions Roadmap: Helm

More on Helm 3 Architecture & Release Storage