Open gnunn1 opened 3 weeks ago
tbh I skipped managedFieldsManagers
in ignoreApplicationDifferences
just for convenience. The other two options covered the use cases I cared about. I'm not aware of any particularly difficult challenges related to adding managedFieldsManagers
support.
Summary
The ApplicationSet has the ability to ignore targetted differences to the Application via
ignoreApplicationDifferences
. However unlike the Application or Global ignoreDifferences it does not support using this formanagedFieldManagers
.Motivation
In the app-of-app pattern I use
ignoreDifferences
with themanagedFieldManager
set toargocd-server
, this enables me to temporarily override selfHeal from the UI when I need to troubleshoot applications as per this example:Proposal
I'm not deep enough into the code base to outline an implementation proposal but ideally ignoreApplicationDifferences could simply reuse the implementation already available in Argo CD. The
managedFieldManagers
would simply be an additional field parallel to the existing fields likejsonPointers
,jqPathExpressions
andname
.