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.
More medium Flux CD questions
- Which Flux objects work together to update an image tag in Git when a new version is pushed to a registry?
- How does image-automation-controller know which field in a YAML file to update?
- An ImagePolicy should pick the newest 1.x release tag and ignore 2.0 and later. Which policy fits?
- How can a push to Git make Flux fetch the new commit right away instead of waiting for the GitRepository interval?
- Which Flux setup reports deployment results back to GitHub as commit statuses?
- You delete a Flux Kustomization that has prune: true and no deletionPolicy. What happens to the objects it applied?