Config Sync-managed labels and annotations

Config Sync adds and manages several labels and annotations on objects in the cluster. Do not modify these.

Labels

app.kubernetes.io/managed-by=configmanagement.gke.io: Marks the object as currently managed by Config Sync.

Annotations

  • configmanagement.gke.io/cluster-name: cluster-name: The name of the cluster, used by ClusterSelectors.
  • configmanagement.gke.io/declared-config: { ... json content... }: JSON representation of how the object is declared in Git.

  • configmanagement.gke.io/managed: enabled: Indicates that the object is managed by Config Sync.

  • configmanagement.gke.io/source-path: path/to/object.yaml: The path in the repo to the file declaring this object.

  • configmanagement.gke.io/token: token-hash: The Git hash of the repository when this object was last modified.