Jian Qiu 2e87d3a92c Add deploy manifest
This is to make installing registration easier
2020-05-07 22:38:21 +08:00
2020-04-23 17:16:50 -04:00
2020-05-07 22:38:21 +08:00
2020-04-29 23:15:06 +08:00
2020-05-01 15:07:41 +08:00
2020-04-30 18:32:20 +08:00
2020-04-01 12:43:36 -04:00
2020-04-01 12:43:36 -04:00
2020-04-29 20:52:57 +08:00
2020-04-30 18:32:20 +08:00
2020-04-30 18:32:20 +08:00
2020-05-07 22:38:21 +08:00
2020-05-07 22:38:21 +08:00

Cluster Registration

Contains controllers that support the registration of spoke clusters to a hub to place them under management.

Community, discussion, contribution, and support

Check the CONTRIBUTING Doc for how to contribute to the repo.


Getting Started

Prerequisites

Check the Development Doc for how to contribute to the repo.

How to Deploy

Deploy Hub

  1. Run make deploy-hub

Deploy Spoke

  1. Create a bootstrap kubeconfig secret in the namespace of open-cluster-management. Ensure the server field in kubeconfig is accesible from cluster.

    In a kind environment where hub and spoke component is deployed in one cluster, default kubernetes cluster ip can be used.

    cp ~/.kube/config /<path>/kubeconfig
    clusterIP=$(kubectl get svc kubernetes -n default -o jsonpath="{.spec.clusterIP}")
    kubectl config set clusters.kind-kind.server https://$clusterIP --kubeconfig /<path>/kubeconfig
    

    Then run the following command

    kubectl create secret generic bootstrap-secret --from-file=kubeconfig=/<path>/kubeconfig -n open-cluster-management
    
  2. Run make deploy-spoke

Security Response

If you've found a security issue that you'd like to disclose confidentially please contact Red Hat's Product Security team. Details at https://access.redhat.com/security/team/contact

Description
Core components in the OCM project. Report here if you found any issues in OCM.
Readme Apache-2.0 129 MiB
Languages
Go 98.8%
Makefile 0.5%
Shell 0.5%
Python 0.1%