Skip to content

zkayyali812/discovery

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WORK IN PROGRESS

We are in the process of enabling this repo for community contribution. See wiki here.

Discovery

This project manages discovered clusters

Prerequisites

Installing

Required Variables

To run, export your Docker/Quay credentials and your OpenShift Cluster Manager API Token

$ export DOCKER_USER=<DOCKER_USER>
$ export DOCKER_PASS=<DOCKER_PASS>
$ export OCM_API_TOKEN=<OpenShift Cluster Manager API Token>

The OpenShift Cluster Manager API Token can be retrieved from here.

It is also recommended to set a unique version label when building the image

$ export VERSION=<A_UNIQUE_VERSION>

Building Image

The image can be built and pushed with

$ make docker-build
$ make docker-push

Installing

Be sure you are logged in to a Kubernetes cluster, then run

$ make install
$ make deploy

This will create the CRDs, RBAC, and deployment

To run the image locally instead, run

$ make run

Once the deployment is running a default DiscoveryConfig and DiscoveredClusterRefresh can be created with:

$ make samples

About

Controller to managed discovered clusters

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 86.6%
  • Makefile 6.6%
  • Shell 4.4%
  • Dockerfile 2.4%