You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When syncing an application in the ArgoCD UI, it defaults to selecting all resources, which is expected behavior. However, when selecting a specific resource (e.g., a pod) and clicking the sync option available for that resource, it still selects all resources instead of only the selected one.
To Reproduce
Open the ArgoCD UI.
Navigate to an application that contains multiple resources.
Select a specific resource (e.g., a pod).
Click the sync option displayed for that resource.
Notice that all resources in the application are selected, not just the chosen resource.
Expected behavior
When selecting a resource (e.g., a pod) in the ArgoCD UI and initiating a sync from the resource-specific sync option, only the selected resource should be synced. Other resources should remain unaffected unless explicitly selected.
Screenshots
Above image shows the sync option when selected a resource (pod).
but it's selecting all the resources of the application when clicked on it
My feeling is that the "sync" button should be hidden for resources that are not managed via git. "Syncing" a child resource doesn't really make sense.
That’s a valid point, and hiding the "sync" button for unmanaged resources could indeed simplify things.
However, since we already have the option to select/unselect multiple resources during application sync and a selective sync feature in place, I feel that the "sync" button on a child resource could leverage this functionality. It could initiate a selective sync for only that specific resource instead of syncing all resources. This would make the UI more intuitive and align with the expectations of selective resource management.
We do have a selective sync feature, and you can select which resources you would like to sync. My concern is that child resources are never in that list, because they are not resources that can be synced. That's why, when you click the three dots on a child resource node in the resource tree, there's no "Sync" option in the dropdown. I think the resource detail panel should mirror that design.
Checklist:
argocd version
.Describe the bug
When syncing an application in the ArgoCD UI, it defaults to selecting all resources, which is expected behavior. However, when selecting a specific resource (e.g., a pod) and clicking the sync option available for that resource, it still selects all resources instead of only the selected one.
To Reproduce
Expected behavior
When selecting a resource (e.g., a pod) in the ArgoCD UI and initiating a sync from the resource-specific sync option, only the selected resource should be synced. Other resources should remain unaffected unless explicitly selected.
Screenshots
Above image shows the sync option when selected a resource (pod).
but it's selecting all the resources of the application when clicked on it
Version
The text was updated successfully, but these errors were encountered: