Skip to content

Commit 655e549

Browse files
authored
Improve Helm config.preserve guidance for ArgoCD deployments (#1581)
2 parents 2eb7c9b + ced1009 commit 655e549

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/en/docs/installation/platform-notes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ ArgoCD v2.10 introduced support for `ServerSideDiff`, leveraging Kubernetes' Ser
3838
- Use `ServerSideApply=true` for smooth resource updates
3939
- Enable `CreateNamespace=true` if deploying to a new namespace
4040

41+
4. **Config Preservation**
42+
- By default, `config.preserve=true` is set in the Helm chart. This is useful for Helm-based install, upgrade, and uninstall scenarios.
43+
- This setting enables a Helm post-delete hook, which can cause ArgoCD to show the application as out-of-sync if deployed using an App of Apps pattern.
44+
- It may also prevent ArgoCD from cleaning up the Kyverno application when the parent application is deleted.
45+
- **Recommendation:** Set `config.preserve=false` when deploying Kyverno via ArgoCD to ensure proper resource cleanup and sync status.
46+
4147
#### Complete Application Example
4248

4349
```yaml

0 commit comments

Comments
 (0)