Skip to content

Detect OCMSpoke only for ACE-managed spokes - #653

Merged
ArnobKumarSaha merged 1 commit into
masterfrom
arnob-acm-spoke
Nov 29, 2026
Merged

ArnobKumarSaha merged 1 commit into
masterfrom
arnob-acm-spoke

Conversation

@ArnobKumarSaha

Copy link
Copy Markdown
Member

Cause. DetectClusterManager set ClusterManagerOCMSpoke whenever any Klusterlet exists (IsOpenClusterSpoke). Red Hat ACM installs its own Klusterlet, so ACE labels an ACM-managed cluster a Spoke, and the UI tells the user to manage it from a hub it has no name for.

Fix. Use IsACEManagedSpoke, which also requires ACE's id.k8s.io and cluster.ace.info ClusterClaims. Every consumer of the OCMSpoke cluster manager (ClusterInfo and its is_spoke_cluster relation, the upgrader's client-org cleanup, Trickster, the hub links and banners in the UIs) means a spoke of an ACE hub. Direct callers of IsOpenClusterSpoke are unchanged.

Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
@ArnobKumarSaha
ArnobKumarSaha merged commit cee63c3 into master Nov 29, 2026
4 checks passed
@ArnobKumarSaha
ArnobKumarSaha deleted the arnob-acm-spoke branch November 29, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant