Helm 3 is a major update over Helm 2, with several architectural and functional changes aimed at improving security, usability, and integration with Kubernetes. Below is a comprehensive breakdown of the key updates and differences between Helm 3 and Helm 2:
🔑 1. Removal of Tiller
Helm 2:
Used a server-side component called Tiller running in the Kubernetes cluster.
Tiller managed releases and interacted with the Kubernetes API.
Helm 3:
Tiller is removed entirely.
Helm now interacts directly with the Kubernetes API.
This improves security (no extra component with cluster-wide permissions) and simplifies deployment.
🛡️ 2. Improved Role-Based Access Control (RBAC)
Helm 2:
Required broad cluster-wide permissions for Tiller, which posed a security risk.
Helm 3:
Uses the user's kubeconfig context and respects native Kubernetes RBAC.
Helm operations are subject to the same permissions as the user running them.
📁 3. Release Names Are Scoped to a Namespace
Helm 2:
Release names were globally unique across the entire cluster.
Helm 3:
Release names are scoped to a namespace.
You can deploy the same chart in different namespaces with the same release name.
📦 4. Support for Secrets-Only Storage of Releases
Helm 2:
Release information was stored as ConfigMaps by default.
Helm 3:
Stores release information as Secrets by default, improving security.
Can be configured to use ConfigMaps if needed.
🧱 5. Structured Chart Dependencies
Helm 2:
Dependencies were managed via requirements.yaml.
Helm 3:
Uses a new dependencies section in Chart.yaml.
Requires explicit use of helm dependency commands to manage dependencies.
🧩 6. Library Charts
Helm 3 introduces library charts, which are reusable templates that do not deploy anything themselves.
Useful for sharing common logic between charts.
📜 7. Enhanced Support for OCI (Open Container Initiative) Images
Helm 3 supports pushing and pulling charts using OCI registries (e.g., Docker Hub, Azure Container Registry).
You can now package and push Helm charts like container images.
Example:
helm chart save mychart myregistry.azurecr.io/mychart:1.0.0
helm chart push myregistry.azurecr.io/mychart:1.0.0