This repository hosts the documentation site for the Cloudflare Tunnel Ingress Controller. The site is built with Astro and the Starlight docs theme.
The controller relies on standard Kubernetes Ingress resources (via the cloudflare-tunnel ingress class) to publish services through Cloudflare Tunnel—no additional CRDs are required.
- Install dependencies:
pnpm install
- Launch the local docs server:
The site is available at
pnpm dev
http://localhost:4321with hot reload enabled. - Build the static site when you are ready to deploy:
pnpm build
- Preview the production build locally:
pnpm preview
src/
content/docs/ # Markdown and MDX sources for the documentation
assets/ # Images and additional media referenced in docs
public/ # Static files copied verbatim to the build output
astro.config.mjs # Starlight configuration (title, sidebar, social links)
Content updates happen inside src/content/docs/. Each Markdown file automatically becomes a page; update the sidebar in astro.config.mjs when you add new sections.
- Keep new content in English to match the primary audience of the project.
- Prefer short task-focused guides under
src/content/docs/guides/and longer form references undersrc/content/docs/reference/. - Run
pnpm buildbefore submitting changes to ensure there are no build-time regressions.