Skip to content

openshift-cherrypick-robot/config-policy-controller-1

 
 

Repository files navigation

Configuration Policy Controller

Red Hat Advanced Cluster Management - Governance - Configuration Policy Controller

How it works

The Configuration Policy Controller watches for the following triggers to execute a reconcile:

  1. ConfigurationPolicy changes in all watched namespaces on the hub cluster

Every reconcile the controller will:

  1. Create/update/delete the replicated policy on the managed cluster in the cluster namespace
  2. Handle the object template specified in the ConfigurationPolicy and create an object and/or status update depending on the details of the object template

Run

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

About

Configuration policy controller

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 52.3%
  • Shell 21.5%
  • Makefile 20.6%
  • Python 4.2%
  • Dockerfile 0.7%
  • Awk 0.6%
  • Ruby 0.1%