Skip to content

Serialization

llms.txt lists every page for an agent

The GCP lexicon serializes resources into Config Connector YAML manifests (Kubernetes CRDs).

Run chant build to produce Config Connector YAML from your declarations:

Terminal window
chant build
# Writes dist/manifests.yaml

The generated manifests include:

  • apiVersion and kind (Config Connector CRD)
  • metadata with name, labels, and annotations
  • spec with the resource configuration
Chant (TypeScript)YAML outputRule
export const myBucket = new StorageBucket({...})metadata.name: my-bucketExport name → kebab-case
defaultLabels({...})Merged into all resourcesProject-wide label injection
defaultAnnotations({...})Merged into all resourcesProject-wide annotation injection

Apply to a Kubernetes cluster with Config Connector installed:

Terminal window
# Dry run
kubectl apply -f dist/manifests.yaml --dry-run=server
# Apply
kubectl apply -f dist/manifests.yaml

The output is compatible with:

  • kubectl apply/diff
  • Config Connector controller on GKE
  • ArgoCD / Flux GitOps controllers
  • Kustomize (as a base)

chant