Publishing backends

Publishing Backends

Publish generated schema sites with Cloudflare Pages, the built-in server, sidecars, object storage, or git.

Runtime modes can publish directly to Cloudflare Pages when credentials are present. Without credentials, the workload runs extract-only and writes a complete generated site to OUTPUT_DIR/current.

Use extract-only mode when another container or process should serve or sync the generated site.

Supported Patterns

PatternBackendExample
Built-in serverController HTTP serverserve.enabled=true, values file
Caddy sidecarLocal HTTPexamples/caddy-sidecar/values.yaml
S3-compatible storageAWS S3, Backblaze B2, MinIO, R2, GCSexamples/rclone-s3/values.yaml
Git pushGitHub Pages, GitLab Pages, Gitea, Bitbucketexamples/git-push/values.yaml
GitHub Pages subpathsProject Pages path prefixesconfig.basePath

The built-in server is the smallest in-cluster option. Sidecar examples use the chart’s extraContainers and extraObjects values so you can adapt the same pattern to another web server, object storage sync tool, or git host without changing crd-schema-publisher.

Examples that push to external storage run stateless with an emptyDir. The Caddy example uses a persistent volume because it serves directly from the cluster.

Each example is a self-contained values file. Copy it, fill in your credentials, and install it. See the comments in each file for what to customize.