Skip to content

levinwang88/governance-policy-propagator

 
 

Governance Policy Propagator KinD testsLicense

Description

The governance policy propagator is a controller that watches Policies, PlacementBindings, and PlacementRules. It manages replicated Policies in cluster namespaces based on the PlacementBindings and PlacementRules, and it updates the status on Policies to show aggregated cluster compliance results. This controller is a part of the governance-policy-framework.

The operator watches for changes to trigger a reconcile:

  1. Changes to Policies in non-cluster namespaces trigger a self reconcile.
  2. Changes to Policies in cluster namespaces trigger a root Policy reconcile.
  3. Changes to PlacementBindings trigger reconciles on the subject Policies.
  4. Changes to PlacementRules trigger reconciles on subject Policies.

Every reconcile does the following:

  1. Creates/updates/deletes replicated policies in cluster namespaces based on PlacementBinding/PlacementRule results.
  2. Creates/updates/deletes the policy status to show aggregated cluster compliance results.

Go to the Contributing guide to learn how to get involved.

Geting started

Check the Security guide if you need to report a security issue.

Build and deploy locally

You will need kind installed.

make kind-bootstrap-cluster-dev
make build-images
make kind-deploy-controller-dev

Running tests

make test-dependencies
make test

make e2e-dependencies
make e2e-test

Clean up

make kind-delete-cluster

References

  • The governance-policy-propagator is part of the open-cluster-management community. For more information, visit: open-cluster-management.io.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 50.5%
  • Makefile 22.1%
  • Shell 21.3%
  • Python 4.5%
  • Dockerfile 0.8%
  • Awk 0.7%
  • Ruby 0.1%