HelmRelease and helm-controller
The HelmRelease CRD turns Helm into a controller-driven, continuously reconciled resource with automated remediation, drift correction, and post-render patching — replacing helm upgrade in CI.
Overview
Why HelmRelease exists
Running Helm from CI means a pipeline holds cluster credentials, runs helm upgrade --install, and then stops caring. A half-failed upgrade sits in a failed state and blocks the next attempt; a hand edit to a Deployment goes unnoticed.
The HelmRelease CRD moves all of that inside the cluster, into a controller that keeps reconciling. Four pieces work together.
helm-controller performs genuine Helm actions, writes genuine Helm release Secrets, and stays interoperable with the helm CLI. What changes is the trigger (a declarative object, not a pipeline step) and the follow-through (a reconciliation loop with an explicit remediation state machine).
Key concepts
- HelmRelease CRD
- chart versus chartRef
- valuesFrom with targetPath
- Remediation
- driftDetection
- postRenderers
- maxHistory
- storageNamespace and targetNamespace
Interview questions
- Trace the helm-controller lineage and explain why the API group matters.
- Walk through exactly what happens when a HelmRelease upgrade fails.
- How does HelmRelease drift detection work, and why is it disabled by default?
- How do you supply values to a HelmRelease, including secrets, without committing credentials?
- Compare a HelmRelease to running helm upgrade --install from CI. What do you actually gain?
- An upstream chart does not expose the field you need to change. How do you handle it in Flux?
Sign up free to read the full topic
More DevOps topics
- Golden Paths
- gRPC & Protocol Buffers
- Hardware-in-the-Loop CI
- HashiCorp Vault
- Helm 4 Migration
- Helm vs Kustomize
- High Availability System Design
- How User Requests Travel in Kubernetes
- HTTP 4xx and 5xx in Kubernetes — Which Hop Sent It and How to Fix It
- IaC Governance
- IaC State Management
- Identity, Secrets and Config Errors — Workload Identity, Stale ConfigMaps and Secret Stores
Start free on Cariara · Coding problems · System design studio