RepoSync is an Anthos Config Management resource that defines how configuration is fetched from a namespace repository and synchronized into its namespace. In multiple-repository mode, it holds repository-fetching details such as Git URLs and Secrets instead of storing them in ConfigManagement. section 11.2.2
A central platform team can deploy RepoSync in a namespace, or delegate that responsibility to an application team. The root repository supplies centrally managed and inherited resources, while the namespace repository manages application-specific objects such as Deployments and ConfigMaps. section 8.3.2
Use RepoSync to structure ownership across repositories:
- Keep cluster-wide and centrally defined namespace configuration in the root repository. section 8.3.2
- Place application manifests in a namespace repository managed through RepoSync. section 8.3.2
- Treat root-repository declarations as authoritative when root and namespace repositories conflict; only the root declaration is applied. section 8.3.2
Delegated application configuration
A central team maintains the root repository and defines shared namespace resources. It deploys a RepoSync resource in an application namespace, allowing the application team to manage that namespace's Deployments, ConfigMaps, and related manifests through its namespace repository. section 8.3.2
Inspect the multiple-repository configuration showing a root repository, inherited namespace configuration, RepoSync resources, and application manifests. section 8.3.2
