This repo will be archived prior to the release of version OCM v1.0.0.
Going forward, the Argo CD Pull Integration repo will serve as the primary source for OCM and Argo CD pull model integration efforts. For additional Argo CD integration solutions, please refer to the OCM solutions folder.
This repository hosts a controller that imports Open Cluster Management (OCM) ManagedCluster
resources into Argo CD (OpenShift GitOps), based on OCM Placement
resource.
- Connect to Kubernetes cluster.
- Run:
kubectl apply -f deploy/crds kubectl apply -f deploy/controller
- Create a
ManagedClusterSet
and aManagedClusterSetBinding
. - Create a
Placement
resource. - Create a
GitOpsCluster
resource that points toPlacement
and an Argo CD namespace - Check Argo CD >> Configuration >> Clusters to make sure you see the imported ManagedClusters
See examples for more details.
- Check the logs for the multicloud-integration pod.
- Make sure the
Placement
resource generated at least onePlacementDecision
resource and that the status has a decision list.
Check the CONTRIBUTING Doc for how to contribute to the repo.
Slack channel: #open-cluster-mgmt
This code is released under the Apache 2.0 license. See the file LICENSE for more information.