This repository contains example repos for Anthos Config Management.
To use these examples, install the Anthos Config Management operator on your
Kubernetes cluster and 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.
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
Guide on validating configuration changes with Cloud Build