Uses Red Hat Connected Customer Experience (CCX) to provide health check insights for all managed cluster (clusters have to be Openshift versioned >= 4.X). The insights-client will create a Custom Resource (PolicyReport) for each cluster that contains all Insight violations.
Development
Install dependencies
make deps
Generate self-signed certificate for development
sh setup.sh
Log into your development cluster with oc login ....
Alternative: set the KUBECONFIG environment variable to some other kubernetes config file.
Run the program
make run
Environment Variables
Control the behavior of this service with these environment variables.