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
ManagedClusterSetand aManagedClusterSetBinding. - Create a
Placementresource. - Create a
GitOpsClusterresource that points toPlacementand 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
Placementresource generated at least onePlacementDecisionresource 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.