Support filtering Applications by Annotations in UI
Summary
Add support for filtering Applications by annotations in the Argo CD UI.
Currently, Applications can be filtered by Sync status, Health status, and Labels, but not by Annotations.
Motivation
In our environment we rely on annotations injected by tools like Argo CD Image Updater
(e.g., argocd-image-updater.argoproj.io/write-back-method=digest).
When we want to manage Applications that use a specific updater strategy or custom sync behavior,
we have to manually browse through the entire list in the UI.
This is time-consuming and does not scale well in large clusters with many Applications.
For example:
I needed to filter only those Applications with Image Updater annotations, but since the UI only supports label filtering, I had to click into each Application individually.
Proposal
- Extend the Application list UI to support annotation-based filtering, in addition to existing label filters.
- UX should be consistent with label filtering, but target
metadata.annotations. - (Out of scope) CLI changes are not required — my request is UI-only.
This will make it much easier for operators to work with Applications that have important annotations, such as those applied by Argo CD Image Updater or other controllers.
Nice proposal! The implementation might be straightforward since annotations are already available in Application.metadata.annotations. The UI filter component (used for labels) could probably be extended to accept a “field selector” mode (e.g., label vs. annotation).
Maybe something like a dropdown toggle in the filter bar — “Filter by: Label / Annotation / Status”?
@Aamir017 Thanks, that sounds like a very clean solution. Unless there are objections, I’ll start working on a PR with this approach.
Yes, you can open a pr and if you need any help let me know @zc149
Hi @zc149, are you still planning working on this?
@aali309 Thanks for the reminder! I was busy with my schedule recently, but I’ve now opened a PR for this issue: #25527. I’d really appreciate your feedback.