Red Hat Advance Cluster Management Governance - Policy Propagator
This operator watches for following changes to trigger reconcile
-
policies changes in non-cluster namespaces
a. policies in non-cluster namespaces triggers self reconcile
b. policies in cluster namespaces triggers root policy reconcile
-
placementbinding changes
-
placementrule changes
Every reconcile does following things:
- Create/update/delete replicated policy in cluster namespace based on pb/plr results
- Create/update/delete policy status to show aggregated cluster compliance results
export WATCH_NAMESPACE=""
operator-sdk run --local
Make sure you have kind and ginkgo installed.
make kind-bootstrap-cluster
make e2e-test
To cleanup
make kind-delete-cluster