Anthos Config Management uses a Git repository for storage and version control, and takes actions based on its contents. In Anthos Config Management, this repository is called the repo.
This topic shows how to initialize the repo and configure the Config Management Operator to read from it. You can find out more about the repo's structure and layout.
Initializing the repo
You can initialize the repo using the
nomos init command, or you can create
the directory structure manually. Empty directories cannot be committed to a Git
repository. You can use the
command to verify your repo's structure, even if you created the repo manually.
Configuring the Config Management Operator to read from the repo
You configure the location of the repo when you install Anthos Config Management, and you can edit its configuration later in the Operator's configuration file. In addition to the location of the repo, you can specify a Git branch and a subdirectory to watch, if the Git repository has contents other than configs.
After updating the configuration file, you apply it to the cluster using the
kubectl apply command. Anthos Config Management does not manage the
configuration of the Operator itself.
To configure authentication and authorization between Anthos Config Management and
the repo, see the installation step about
- Learn more about the repo's structure and layout
- Try the quickstart
- Learn about configs
- Configure cluster-scoped objects
- Configure namespace-scoped objects