Course contentsShow
← Cloud and Infrastructure
Lesson 1935 of 2,98941. FluxFree lesson

Helm Controller

Managing Helm releases declaratively with HelmRelease resources and automatic chart upgrades.

Helm Controller

You'll learn how the Helm Controller manages Helm releases declaratively using HelmRelease resources and enables automatic chart upgrades in Flux.

What Is the Helm Controller?

The Helm Controller is a Flux component that brings GitOps principles to Helm chart deployments. Instead of running helm install or helm upgrade manually, you define a HelmRelease custom resource in Git. The Helm Controller watches these resources and automatically installs, upgrades, and reconciles Helm releases to match your desired state.

Think of it as a guardian for your Helm deployments—it continuously ensures your running applications match what's declared in Git, just like the Kustomize Controller does for plain Kubernetes manifests.

How It Works

The Helm Controller watches HelmRelease resources that reference a HelmRepository or other chart source (managed by the Source Controller). When you commit a HelmRelease to Git:

  1. Source Controller fetches the Helm chart from the repository
  2. Helm Controller reads the HelmRelease specification
  3. It installs or upgrades the Helm release on your cluster
  4. It continuously reconciles, ensuring drift is corrected

Automatic Chart Upgrades

The controller can automatically upgrade charts when new versions become available. You specify version constraints (like >=1.2.0 <2.0.0) in your HelmRelease, and the controller monitors the chart repository. When a new version matching your constraint appears, it automatically upgrades the release—no manual intervention needed.

This combines GitOps declarative management with automated version tracking, keeping your applications current while maintaining Git as the source of truth for configuration values and version policies.

Key Takeaway: The Helm Controller enables fully declarative, GitOps-driven Helm release management with automatic reconciliation and optional chart version upgrades, eliminating manual Helm commands while keeping deployments synchronized with Git.