Sobes.tech
Middle

Where does Helm store release information in Kubernetes?

sobes.tech AI

Answer from AI

Helm stores information about Kubernetes releases in Secrets or ConfigMaps within the cluster. Historically, in Helm v2, Secrets were used in Tiller's namespace. Starting from Helm v3, each release is stored in a Secret in the same namespace where the release was installed.

The content of the Secret that contains release information is encoded in Base64 and contains a Protobuf structure describing the release.

apiVersion: v1
data:
  release: |
    # Base64-encoded release data (Protobuf)
spec:
  data: null
kind: Secret
metadata:
  # The secret name usually has the format sh.helm.release.v1.<release_name>.v<release_revision>
  name: sh.helm.release.v1.my-app.v1
  namespace: my-namespace # Namespace where the release was installed
type: helm.sh/release.v1