From cb07a602586a56b8656e0fee617bd3c096e76c96 Mon Sep 17 00:00:00 2001 From: raul Date: Tue, 20 Jun 2023 11:56:39 +0200 Subject: [PATCH] Add drift correction docs --- docs/ref-gitrepo.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/ref-gitrepo.md b/docs/ref-gitrepo.md index eaa712c6d..77060d37e 100644 --- a/docs/ref-gitrepo.md +++ b/docs/ref-gitrepo.md @@ -109,4 +109,13 @@ spec: # If empty, the "default" cluster group is used. # # targets: ... + # + # Drift correction removes any external change made to resources managed by Fleet. It performs a helm rollback, which uses + # a three-way merge strategy by default. It will try to update all resources by doing a PUT request if force is enabled. + # Failed rollback will be removed from the helm history unless keepFailHistory is set to true. + # + # correctDrift: + # enabled: false + # force: false #Warning: it might recreate resources if set to true + # keepFailHistory: false ```