This repository hosts a controller that imports ManagedCluster kind resources into Argo CD (OpenShift GitOps), based on Placement resource.
- Connect to OpenShift
- Run:
oc apply -f deploy/crds #TBD oc apply -f deploy/controller
- Create a placement resource
- Create a GitOpsCluster resource kind that points to placement and an Argo CD namespace
- Check Argo CD >> Configuration >> Clusters to make sure you see the imported ManagedClusters
- Check the logs for the multicloud-integration pod.
- Make sure the Placement resource generated a PlacementDecision resource kind 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.