governance-policy-status-sync

module
v0.0.0-...-4a8b348 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2021 License: Apache-2.0

README

Governance Policy Status Sync KinD tests

Description

The governance policy status sync runs on managed clusters, updating Policy statuses on both the hub and (local) managed clusters, based on events and changes in the managed cluster. This controller is a part of the governance-policy-framework.

This operator watches for the following changes to trigger a reconcile:

  1. policy changes in the watched cluster namespace on the managed cluster
  2. events on policies in the watched cluster namespace on the managed cluster

Every reconcile does the following things:

  1. Creates/updates the policy status on the hub and managed cluster in cluster namespace

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-status-sync is part of the open-cluster-management community. For more information, visit: open-cluster-management.io.

Directories

Path Synopsis
cmd
pkg
utils
This is a copy of https://github.com/open-cluster-management-io/addon-framework/blob/main/pkg/utils/config_checker.go There were some go dependency conflicts that couldn't be resolved as the operator sdk used by this project is too old
This is a copy of https://github.com/open-cluster-management-io/addon-framework/blob/main/pkg/utils/config_checker.go There were some go dependency conflicts that couldn't be resolved as the operator sdk used by this project is too old
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL