k8wiz
Flux CD
Medium
Concepts

What does driftDetection.mode: enabled do on a HelmRelease?

Select your answer:

Show answer and explanation

Answer: Detects changes made in the cluster to the release's resources and reverts them

Explanation

helm-controller compares the manifest Helm stored with the cluster using a server-side dry-run apply. With mode: warn it only emits an event about the drift; with enabled it also patches the resources back. Without it, Helm only touches resources during an install or upgrade.