🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

open-cluster-management.io/governance-policy-status-sync

Package Overview
Dependencies
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

open-cluster-management.io/governance-policy-status-sync

Go Modules
Version
v0.8.0
Version published
Created
Source

Governance Policy Status Sync KinD testsLicense

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:

  • policy changes in the watched cluster namespace on the managed cluster
  • events on policies in the watched cluster namespace on the managed cluster

Every reconcile does the following things:

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

Geting started

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

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

Updating operator.yaml

The deploy/operator.yaml file is generated via Kustomize. The deploy/rbac directory of Kustomize files is managed by the operator-sdk and Kubebuilder using markers. After updating the markers or any of the Kustomize files, you may regenerate deploy/operator.yaml by running make generate-operator-yaml.

References

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

FAQs

Package last updated on 22 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts