Skip to content

About

High-level OCM ManagedServiceAccount fan-out operator

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCM ManagedServiceAccount ReplicaSet Controller

OCM ManagedServiceAccount ReplicaSet Controller is a hub-side controller for creating OCM ManagedServiceAccount resources across clusters selected by OCM Placement output.

The upstream ManagedServiceAccount API is per managed cluster namespace. It does not support creating one ManagedServiceAccount in a cluster-set namespace and having it apply to every cluster in the set. This controller fills that gap with ManagedServiceAccountReplicaSet.

What It Does

ManagedServiceAccountReplicaSet provides an OCM-native workflow for replicating managed service accounts across a selected fleet:

  • Resolves target clusters from OCM Placement and PlacementDecision output using the OCM placement SDK tracker.
  • Supports OCM-style rolloutStrategy per placement ref.
  • Reports OCM-style rollout progress counts for updating, succeeded, failed, and timed-out clusters.
  • Creates one generated OCM ManagedServiceAccount per selected managed cluster namespace.
  • Optionally delivers typed, least-privilege remote RBAC through generated OCM ManifestWork objects.
  • Cleans generated cross-namespace children with explicit finalizers.

Get Started

Install the controller on an OCM hub, point a ManagedServiceAccountReplicaSet at an existing OCM Placement, and let the controller reconcile generated hub-side children for each selected managed cluster. The included sample shows a complete replica set with service account rotation and typed remote RBAC grants:

Additional Documentation

Controller Guarantees

The controller intentionally avoids direct remote-cluster access. It does not read Cluster API Cluster objects, remote kubeconfig Secrets, or child status subresources, and it only writes the status of ManagedServiceAccountReplicaSet.

Checks

make test
make lint
make helm-lint
make test-chart
make test-e2e

About

High-level OCM ManagedServiceAccount fan-out operator

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages