cloudflared
by harish2k01
Deploys Cloudflare Tunnel cloudflared connectors on Kubernetes
About this chart
Cloudflared Helm Chart
Browse the Helm chart catalog to explore available charts and installation commands.
This chart deploys the official Cloudflare cloudflared container as one or more Kubernetes Tunnel connector pods.
It runs cloudflared tunnel --no-autoupdate --loglevel info --metrics 0.0.0.0:2000 run by default and reads the tunnel token from a Kubernetes Secret. The chart can reference a Secret managed outside Helm, create a normal Secret from private values, or create a Bitnami SealedSecret.
[!NOTE] This is an unofficial community Helm chart maintained by harish2k01. It is not affiliated with or endorsed by the upstream project. For chart issues, questions, or improvements, please open an issue in the harish2k01/helm-charts repository.
Install
helm repo add harish2k01 https://charts.harish2k01.in
helm repo update
kubectl create namespace cloudflare
kubectl create secret generic cloudflare-tunnel-token \
--namespace cloudflare \
--from-literal=token='eyJhIjoi...'
helm install cloudflared harish2k01/cloudflared --namespace cloudflare
Install From OCI
This chart is also published as an OCI chart in GHCR. Use the same values and namespace flags with the OCI reference:
helm install cloudflared oci://ghcr.io/harish2k01/helm-charts/cloudflared --version 0.2.3
Sealed Secret
For GitOps deployments with Bitnami Sealed Secrets, enable the SealedSecret template and provide encrypted data:
token:
secretName: cloudflare-tunnel-token
secretKey: token
sealedSecret:
enabled: true
encryptedData:
token: Ag...
Values
| Key | Type | Default | Description |
|---|---|---|---|
replicaCount | int | 1 | Number of cloudflared connector pods |
image.repository | string | cloudflare/cloudflared | Container image repository |
image.tag | string | 2026.11.1 | Versioned container image tag, suitable for Renovate updates |
image.pullPolicy | string | IfNotPresent | Container pull policy |
selectorLabels | object | {pod: cloudflared} | Deployment selector labels |
podSecurityContext | object | ICMP ping sysctl | Pod security context |
cloudflared.logLevel | string | info | Cloudflared log level |
cloudflared.noAutoupdate | bool | true | Add --no-autoupdate |
cloudflared.metrics.enabled | bool | true | Enable cloudflared metrics and readiness endpoint |
cloudflared.metrics.address | string | 0.0.0.0:2000 | Metrics bind address passed to --metrics |
cloudflared.extraArgs | list | [] | Extra args inserted before run |
token.secretName | string | cloudflare-tunnel-token | Secret containing the tunnel token |
token.secretKey | string | token | Secret key containing the tunnel token |
token.create | bool | false | Create a normal Secret from token.value |
token.sealedSecret.enabled | bool | false | Create a Bitnami SealedSecret |
service.enabled | bool | false | Expose the metrics endpoint with a Service |
resources | object | {} | Container resource requests and limits |
topologySpreadConstraints | list | [] | Pod topology spread constraints |
Upgrade history
See CHANGELOG.md for application changes and compatibility notes. Optional runtime settings and Secret references are documented next to cloudflared.extraEnv in values.yaml.
Deploy cloudflared with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cloudflared on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcloudflared is pinned at v0.2.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply