cloudflared
by pascaliske
A Helm chart for cloudflared DNS over HTTPS tunnel.
About this chart
cloudflared
A Helm chart for cloudflared DNS over HTTPS tunnel.
Requirements
Usage
To use this chart add the repo as follows:
helm repo add pascaliske https://charts.pascaliske.dev
If you had already added this repo earlier, run helm repo update to retrieve the latest versions of the packages.
To install this chart simply run the following command:
helm install cloudflared pascaliske/cloudflared
To uninstall this chart simply run the following command:
helm delete cloudflared
Values
The following values can be used to adjust the helm chart.
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Pod-level affinity. More info here. |
| controller.annotations | object | {} | Additional annotations for the controller object. |
| controller.enabled | bool | true | Create a workload for this chart. |
| controller.kind | string | "Deployment" | Type of the workload object. |
| controller.labels | object | {} | Additional labels for the controller object. |
| controller.replicas | int | 1 | The number of replicas. |
| controller.updateStrategy.rollingUpdate.maxSurge | int | 1 | Specifies the maximum number of Pods that can be created over the desired number of Pods. |
| controller.updateStrategy.rollingUpdate.maxUnavailable | int | 0 | Specifies the maximum number of Pods that can be unavailable during the update process. |
| controller.updateStrategy.type | string | "RollingUpdate" | Strategy used to replace old pods. |
| env[0] | object | {"name":"TZ","value":"UTC"} | Timezone for the container. |
| env[1] | object | {"name":"TUNNEL_DNS_UPSTREAM","value":"https://1.1.1.1/dns-query,https://1.0.0.1/dns-query"} | Upstream DNS provider used for the DNS-over-HTTPS tunnel. |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | The pull policy for the controller. |
| image.repository | string | "ghcr.io/crazy-max/cloudflared" | The repository to pull the image from. |
| image.tag | string | .Chart.AppVersion | The docker tag, if left empty chart's appVersion will be used. |
| nameOverride | string | "" | |
| resources | object | {} | Compute resources used by the container. More info here. |
| service.dns.annotations | object | {} | Additional annotations for the service object. |
| service.dns.enabled | bool | true | Create a service for DNS endpoints. |
| service.dns.labels | object | {} | Additional labels for the service object. |
| service.dns.nodePort | string | nil | If the service is NodePort, specify a node port value here. |
| service.dns.port | int | 5053 | The service port used. |
| service.dns.single | bool | true | Combine TCP and UDP endpoints in a single service. |
| service.dns.type | string | "ClusterIP" | The service type used. |
| service.metrics.annotations | object | {} | Additional annotations for the service object. |
| service.metrics.enabled | bool | false | Create a service for the metrics endpoint. |
| service.metrics.labels | object | {} | Additional labels for the service object. |
| service.metrics.nodePort | string | nil | If the service is NodePort, specify a node port value here. |
| service.metrics.port | int | 49312 | The service port used. |
| service.metrics.type | string | "ClusterIP" | The service type used. |
| serviceAccount.name | string | "" | Specify the service account used for the controller. |
| serviceMonitor.annotations | object | {} | Additional annotations for the service monitor object. |
| serviceMonitor.enabled | bool | false | Create a service monitor for prometheus operator. |
| serviceMonitor.interval | string | "30s" | How frequently the exporter should be scraped. |
| serviceMonitor.labels | object | {} | Additional labels for the service monitor object. |
| serviceMonitor.timeout | string | "10s" | Timeout value for individual scrapes. |
| tolerations | list | [] | Pod-level tolerations. More info here. |
Maintainers
| Name | Url | |
|---|---|---|
| pascaliske | [email protected] | https://pascaliske.dev |
License
MIT – © 2026 Pascal Iske
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 v3.0.0 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