liveBook · Manning

RootSync

As explained in Google Anthos in Action

RootSync is an Anthos Config Management object that specifies how configuration is synchronized from a root repository in multiple repository mode.

RootSync is the ACM object that stores how Config Sync fetches the root repository when a cluster uses multiple repository mode. Enabling enableMultiRepo moves Git URLs, credentials, and repository-fetch settings out of ConfigManagement and into RootSync; namespace repositories use RepoSync objects instead. section 11.2.1 section 11.2.2

Use RootSync to establish the governance boundary between centrally managed configuration and namespace-owned applications:

  • Manage organization-wide policies, RBAC rules, Istio rules, and namespace configuration from the root repository. section 11.2.1
  • Let application teams manage individual namespaces through RepoSync while retaining centralized restrictions on what those repositories may modify. section 11.2.1
  • Resolve conflicts in favor of the root repository, whose objects override conflicting definitions from namespace repositories. section 11.2.1
  • Grant namespace worker service accounts appropriate permissions with built-in roles or custom Role and ClusterRole bindings. section 11.2.1

Platform and application team split

An operations or security team uses RootSync for organization-wide policies and namespace setup, while application teams use RepoSync to deploy applications within permitted namespaces. section 11.2.1

How Google Anthos in Action covers it

How deep it goes
Defines repository-fetch ownership, precedence, and permission boundaries, but does not detail a RootSync manifest.
Examples
Uses centralized policies and namespace configuration alongside application-team repositories.
What it assumes
Requires ACM activation through ConfigManagement and enableMultiRepo; assumes familiarity with Git repositories, namespaces, and Kubernetes RBAC.
What you can do after
Operate ACM multi-repository synchronization with centralized policy ownership and controlled namespace delegation.
How it connects
Connects ConfigManagement, RepoSync, RBAC, Role, ClusterRole, and RoleBinding.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Google Anthos in Action. The section links point to the parts of the book it draws on.