Usage with ArgoCD
In order for AppCat to work properly in conjecture with ArgoCD there are two requirements that need to be fullfilled:
-
ArgoCD has to be at least v2.4.8
-
The
ResourceTrackingMethodneeds to be set toannotation
As of 3.x ArgoCD will use ResourceTrackingMethod=annotation by default.
A fresh installation of ArgoCD will not require any additional configuration or workaround.
If upgrading ArgoCD from 2.x please check the official notes.
|
Workaround
If the requirements can’t be satisfied, following workaround will help. On any instance that should be managed by ArgoCD it will need following annotations:
annotations:
argocd.argoproj.io/compare-options: IgnoreExtraneous
argocd.argoproj.io/sync-options: Prune=false
| With these annotations ArgoCD won’t clean up left over objects. So it might be possible that manual deletion is required if the instance is removed from ArgoCD. |