Skip to content

P1: Implement pinned OCM ClusterGateway snapshot transport #103

Description

@gnanirahulnutakki

Parent: #9

Implement the concrete hubfleet.Transport adapter over OCM ClusterGateway plus managed-serviceaccount projected credentials. The adapter must collect the existing bounded normalized inventory/health snapshot from registered spokes without adding a hub-side list/watch loop or storing/logging a token, kubeconfig, endpoint, or raw Kubernetes object.

Acceptance:

  • works through OCM cluster-proxy + MSA against two registered spokes in the existing M0 lab
  • pins the registered managed-cluster reference and allowed service/API route; no arbitrary endpoint selection
  • handles projected-token rotation and bounded per-spoke timeouts
  • proves least-privilege negative RBAC controls and retained stale coverage on one failed spoke
  • includes unit, PostgreSQL/RLS, and real multi-cluster integration evidence

Out: hub listener/UI, arbitrary list/watch, new tunnel/agent, actions, and persistent credentials.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions