cloudflared

by harish2k01

Helm chartv0.2.3App 2026.11.1Apache-2.0Verified publisher

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

KeyTypeDefaultDescription
replicaCountint1Number of cloudflared connector pods
image.repositorystringcloudflare/cloudflaredContainer image repository
image.tagstring2026.11.1Versioned container image tag, suitable for Renovate updates
image.pullPolicystringIfNotPresentContainer pull policy
selectorLabelsobject{pod: cloudflared}Deployment selector labels
podSecurityContextobjectICMP ping sysctlPod security context
cloudflared.logLevelstringinfoCloudflared log level
cloudflared.noAutoupdatebooltrueAdd --no-autoupdate
cloudflared.metrics.enabledbooltrueEnable cloudflared metrics and readiness endpoint
cloudflared.metrics.addressstring0.0.0.0:2000Metrics bind address passed to --metrics
cloudflared.extraArgslist[]Extra args inserted before run
token.secretNamestringcloudflare-tunnel-tokenSecret containing the tunnel token
token.secretKeystringtokenSecret key containing the tunnel token
token.createboolfalseCreate a normal Secret from token.value
token.sealedSecret.enabledboolfalseCreate a Bitnami SealedSecret
service.enabledboolfalseExpose the metrics endpoint with a Service
resourcesobject{}Container resource requests and limits
topologySpreadConstraintslist[]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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcloudflared is pinned at v0.2.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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