Red Hat Advanced Cluster Management - Governance - Configuration Policy Controller
The Configuration Policy Controller watches for the following triggers to execute a reconcile:
- ConfigurationPolicy changes in all watched namespaces on the hub cluster
Every reconcile the controller will:
- Create/update/delete the replicated policy on the managed cluster in the cluster namespace
- Handle the object template specified in the ConfigurationPolicy and create an object and/or status update depending on the details of the object template
To run the controller locally, point your CLI to a running cluster and then run:
export WATCH_NAMESPACE=cluster_namespace_on_hub
go run cmd/manager/main.go