Configuration in Git
Review Cloudflare configuration changes alongside your service manifests using your existing Git workflow.
An open source Kubernetes controller
Manage tunnels, DNS, and Access with Kubernetes resources. cfgate keeps your Cloudflare configuration in sync as your services change.
Saved release information · 2026-10-02
Describe tunnels, routes, and DNS records with Kubernetes resources alongside your service configuration.
Choose which routes require Cloudflare Access and attach policies to their applications. Public routes can stay public.
cfgate runs the tunnel connectors and applies your Cloudflare configuration, then reconciles changes over time.
Access protection is opt-in. For strict authentication, enforce it at your origin too. Read the protection guide
From configuration to infrastructure
This HTTPRoute sends app.example.com to the web Service. cfgate translates it into tunnel ingress configuration.
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: web
spec:
parentRefs:
- name: public
hostnames:
- app.example.com
rules:
- backendRefs:
- name: web
port: 8080 app.example.com cloudflared web:8080 Example fragment: assumes an existing cfgate Gateway named public, an attached tunnel, and a web Service in the same namespace. DNS is managed separately with CloudflareDNS.
Review Cloudflare configuration changes alongside your service manifests using your existing Git workflow.
Use Gateway API routes, Kubernetes resources, and the deployment tools you already know.
Read the code, report an issue, or contribute under the Apache 2.0 license.
Getting started
Install the controller, add your Cloudflare credentials, and connect your first service. The quick start walks you through it.
Installation guidehelm install cfgate oci://ghcr.io/cfgate/charts/cfgate \
--namespace cfgate-system --create-namespace Requires Kubernetes, Gateway API CRDs, and Cloudflare credentials. See the guide for supported versions and setup.
Share your experience, report a bug, or contribute a change. Feedback from real deployments helps guide the project.