Skip to content

Commit 46add22

Browse files
committed
spec: document CorrectDrift feature gate
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
1 parent 0b8b92b commit 46add22

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/spec/v2beta1/helmreleases.md

+7
Original file line numberDiff line numberDiff line change
@@ -1280,6 +1280,13 @@ compare the manifests from the Helm storage with the current state of the cluste
12801280
If this comparison detects a drift (either due resource being created or modified during the
12811281
dry-run), the controller will perform an upgrade for the release, restoring the desired state.
12821282

1283+
To help aid transition to this new feature, it is possible to enable drift detection without it
1284+
correcting drift. This can be done by adding `CorrectDrift=false` to the `--feature-gates` flag,
1285+
i.e. `--feature-gates=DetectDrift=true,CorrectDrift=false`. This will allow you to see what drift
1286+
is detected in the controller logs (with `--log-level=debug`), to potentially add the appropriate
1287+
[exclusions annotations or labels](#excluding-resources-from-drift-detection), before enabling the
1288+
feature full.
1289+
12831290
### Excluding resources from drift detection
12841291

12851292
The drift detection feature can be configured to exclude certain resources from the comparison

0 commit comments

Comments
 (0)