Helm Values
Every value the chart accepts, its type, its default, and what it does. All defaults below
match values.yaml at the chart version this page is published for.
| Key | Type | Default | Description |
|---|---|---|---|
image.repository |
string | ghcr.io/dreamfuse-labs/cloudflare-gateway-controller |
Container image repository for the controller. |
image.tag |
string | "" |
Image tag to deploy. Empty defaults to the chart’s own app version. |
image.pullPolicy |
string | IfNotPresent |
Standard Kubernetes image pull policy. |
imagePullSecrets |
list | [] |
References to kubernetes.io/dockerconfigjson Secrets used to authenticate the controller container image pull, rendered verbatim onto the Pod spec — each entry is an object of the form {name: <secret-name>}, not a bare Secret name string. This covers pulling the controller image only, not pulling this Helm chart itself (a separate helm registry login step, covered elsewhere). The controller image is a private artifact, so a real deployment needs at least one entry here — see Install for how to create the Secret and pass it through this value. |
replicaCount |
int | 1 |
Number of controller Pod replicas. Leader election (leaderElection.enabled below) means only one replica reconciles at a time even when this is greater than 1 — extra replicas buy faster failover, not extra throughput. |
nameOverride |
string | "" |
Overrides the chart name portion of generated resource names. |
fullnameOverride |
string | "" |
Overrides the full generated resource name outright. |
serviceAccount.create |
bool | true |
Whether to create a ServiceAccount for the controller. |
serviceAccount.annotations |
map | {} |
Annotations to add to the created ServiceAccount. |
serviceAccount.name |
string | "" |
Name of the ServiceAccount to use. If unset and serviceAccount.create is true, a name is generated from the release’s full name. |
rbac.create |
bool | true |
Whether to create the RBAC objects the controller needs: the cluster-scoped ClusterRole/ClusterRoleBinding for reconciling its CRDs, a namespaced leader-election Role/RoleBinding, and — when metrics.secure is also true — the metrics-auth ClusterRole/ClusterRoleBinding used for TokenReview/SubjectAccessReview checks on the metrics endpoint, plus a <release>-metrics-reader ClusterRole granting get on /metrics (the chart creates this role but doesn’t bind it — bind it to your metrics scraper’s ServiceAccount). Leave this on unless your cluster provisions all of that RBAC through a separate process. |
leaderElection.enabled |
bool | true |
Whether the controller uses Kubernetes leader election, so exactly one replica is active at a time. |
healthProbeBindAddress |
string | :8081 |
Address the controller’s liveness and readiness probes bind to. |
metrics.secure |
bool | true |
When true, the metrics endpoint requires a token that’s reviewed against the cluster’s RBAC before metrics are served, rather than serving them unauthenticated. |
metrics.bindAddress |
string | :8443 |
Address the metrics server binds to. Set to "0" to disable the metrics server entirely. |
metrics.service.port |
int | 8443 |
Port the metrics Service exposes. |
metrics.serviceMonitor.enabled |
bool | false |
Whether to create a Prometheus Operator ServiceMonitor for the metrics endpoint. This requires the Prometheus Operator’s own CRDs to already be installed on the target cluster — it’s off by default so a plain helm install doesn’t fail on a cluster that doesn’t have them. |
metrics.serviceMonitor.interval |
string | 30s |
Scrape interval set on the generated ServiceMonitor. Only used when metrics.serviceMonitor.enabled is true. |
metrics.serviceMonitor.labels |
map | {} |
Extra labels added to the generated ServiceMonitor, useful for matching your Prometheus Operator’s own serviceMonitorSelector. |
resources.limits.cpu |
string | 500m |
Controller container CPU limit. |
resources.limits.memory |
string | 128Mi |
Controller container memory limit. |
resources.requests.cpu |
string | 10m |
Controller container CPU request. |
resources.requests.memory |
string | 64Mi |
Controller container memory request. |
podSecurityContext.runAsNonRoot |
bool | true |
Requires the controller Pod to run as a non-root user. |
podSecurityContext.seccompProfile.type |
string | RuntimeDefault |
Seccomp profile type applied to the Pod. |
securityContext.readOnlyRootFilesystem |
bool | true |
Mounts the controller container’s root filesystem read-only. |
securityContext.allowPrivilegeEscalation |
bool | false |
Disallows the container from gaining more privileges than its parent process. |
securityContext.capabilities.drop |
list | ["ALL"] |
Linux capabilities dropped from the container. |
nodeSelector |
map | {} |
Node selector applied to the controller Pod. |
tolerations |
list | [] |
Tolerations applied to the controller Pod. |
affinity |
map | {} |
Affinity rules applied to the controller Pod. |
configuration.create |
bool | false |
Whether to render a CloudflareGatewayConfiguration resource alongside the controller, referencing an existing Secret you create yourself. Leave this false (the default) to apply your own CloudflareGatewayConfiguration separately instead. When true, configuration.accountID becomes required. |
configuration.mode |
string | tunnel |
Which mode the rendered CloudflareGatewayConfiguration runs in: tunnel or dns. Only used when configuration.create is true. |
configuration.accountID |
string | "" |
Cloudflare account ID the rendered configuration acts within. Required when configuration.create is true. |
configuration.credentialSecretRef.name |
string | cloudflare-api-token |
Name of the existing Secret holding the Cloudflare API token. |
configuration.credentialSecretRef.key |
string | api-token |
Key within that Secret holding the token. |
configuration.credentialSecretRef.namespace |
string | "" |
Namespace containing that Secret. Defaults to the release namespace if unset. |
configuration.zoneAllowlist |
list | [] |
Zones (by name or ID) the rendered configuration is restricted to. |
configuration.namespaceSelector |
map | {} |
Restricts which namespaces may reference the rendered configuration. Unset means no restriction. |
configuration.deletionPolicy |
string | Delete |
Whether Cloudflare-side resources are deleted (Delete) or left in place (Orphan) when their Kubernetes object is deleted. |
Tunnel image and autoscaling values
Section titled “Tunnel image and autoscaling values”The configuration.tunnelDefaults.* values are
only rendered when configuration.create is true; see
Tunnel Tuning for what they do.
| Key | Type | Default | Description |
|---|---|---|---|
cloudflared.image |
string | "" |
Full cloudflared image reference (repository and tag, or an @sha256: digest) for every tunnel the controller manages. Empty uses the version compiled into the controller release, the only one that is tested; an image that differs from it is unsupported. Changing it rolls every tunnel once. |
configuration.tunnelDefaults.autoscaling.enabled |
bool | false |
Opt in to a controller-managed HorizontalPodAutoscaler for every tunnel. Requires metrics-server in the cluster. While enabled, replicas is ignored. A CloudflareTunnelPolicy’s autoscaling replaces this block whole, and enabled: false there opts a Gateway out. |
configuration.tunnelDefaults.autoscaling.minReplicas |
int | unset | Required when enabled is true; at least 2. |
configuration.tunnelDefaults.autoscaling.maxReplicas |
int | unset | Required when enabled is true; at least minReplicas. |
configuration.tunnelDefaults.autoscaling.targetCPUUtilizationPercentage |
int | unset (70) | Average CPU utilization, as a percentage of the cloudflared container’s CPU request (100m), that the autoscaler scales to hold. |
configuration.tunnelDefaults.imagePullSecrets |
list | [] |
Pull-secret names (objects of the form {name: <secret-name>}) copied onto every cloudflared pod. They resolve in each tunnel’s own namespace: create the Secret in every namespace that holds a tunnel using this configuration. The controller never reads or copies it. Changing the list rolls every tunnel once, and an edit lands at the next event or resync. |
configuration.* never carries a token
Section titled “configuration.* never carries a token”None of the configuration.* values above accept a raw Cloudflare API token, and this chart
has no value that does — only a reference to an existing Kubernetes Secret you create
yourself. This is deliberate: a token typed into values.yaml or a --set flag would end up
recorded in helm history and any values file you commit. See
Credentials and Secrets for how to create the Secret this
chart expects.