Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

GoogleCloudPlatform/csp-config-management

Repository files navigation

Notice: The csp-config-management repo has been deprecated in favor of the anthos-config-management-samples repo. Please contribute all sample updates, including ConfigManagement CRD updates, directly to the new Github repo.

Anthos Config Management

This repository contains example repos for Anthos Config Management.

To use these examples, install the Anthos Config Management operator on your Kubernetes cluster and create a custom resource that points at one of the included examples by setting the policyDir field to the directory of the desired example (e.g. foo-corp).

For a more complete experience, you can fork this repository, which will allow you to make changes and experiment by adding configurations of your own to the examples contained here. When forking the repository, you will need to change your cluster configuration to point to the URL of your forked repository.

For more information on Anthos Config Management, please reference the Google Cloud Platform documentation.

Examples

A single cluster example showing several features of Anthos Config Management working together

A simple example to generalize how to define and enforce configuration

Configure policy to apply only to resources in specific regions

Create a CloudBuild CI pipeline on a config directory

Create a CloudBuild CI pipeline on an unstructured directory

Validate your application against company policies

CRDs

The ConfigManagement CRD is used to install Anthos Config Management