Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/cache/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ func (c *clusterCache) GetManagedLiveObjs(targetObjs []*unstructured.Unstructure
if o.GetNamespace() == "" && !c.clusterResources {
return nil, fmt.Errorf("Cluster level %s %q can not be managed when in namespaced mode", o.GetKind(), o.GetName())
} else if o.GetNamespace() != "" && !c.managesNamespace(o.GetNamespace()) {
return nil, fmt.Errorf("Namespace %q for %s %q is not managed", o.GetNamespace(), o.GetKind(), o.GetName())
return nil, fmt.Errorf("Destination namespace %q for resource kind %s %q is not managed by argocd", o.GetNamespace(), o.GetKind(), o.GetName())

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For more guidance, can we mention something like "go and edit cluster settings for X cluster" ?

}
}
}
Expand Down