Open andrii-korotkov-verkada opened 1 week ago
If approved, I'm willing to provide the PR.
Please review https://github.com/argoproj/gitops-engine/pull/596, as only after merging this i will be able to use these changes in argo-cd repo like https://argo-cd.readthedocs.io/en/stable/developer-guide/dependencies/ for the final pr.
Summary
Currently
/Endpoints
are skipped when trying to trigger a reconciliation (link). I thinkdiscovery.k8s.io/EndpointSlice
should be added to the list as well for the same reasons. Also,skipResourceUpdate
should be done afterskipAppRequeuing
check for optimization.Motivation
Do an additional optimization to reduce reconciliations. Other resources like pods would already trigger reconciliations when there are relevant updates.
Proposal
Just update the dictionary of
ignoredRefreshResources
mentioned above to include the entry fordiscovery.k8s.io/EndpointSlice