cloudflare-tunnel

by portefaix

Helm chartv0.4.0App 2024.8.3Apache-2.0

Creation of a cloudflared deployment - a reverse tunnel for an environment

About this chart

cloudflare-tunnel

Creation of a cloudflared deployment - a reverse tunnel for an environment

Homepage: https://github.com/nlamirault/portefaix-hub

Maintainers

NameEmailUrl
nlamirault[email protected]https://github.com/nlamirault

Source Code

Values

KeyTypeDefaultDescription
additionalLabelsobject{}Additional labels to add to all resources
affinityobject{}
cloudflare.accountstring""
cloudflare.enableWarpboolfalse
cloudflare.ingresslist[]
cloudflare.protocolstring""
cloudflare.secretstring""
cloudflare.secretNamestringnil
cloudflare.tunnelIdstring""
cloudflare.tunnelNamestring""
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"cloudflare/cloudflared"
image.tagstring""
imagePullSecretslist[]
metrics.portint2000The port on which to expose the metrics and ready endpoints
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}
podSecurityContext.runAsNonRootbooltrue
podSecurityContext.runAsUserint65532
replicaCountint1
resourcesobject{}
securityContext.allowPrivilegeEscalationboolfalse
securityContext.capabilities.drop[0]string"ALL"
securityContext.readOnlyRootFilesystembooltrue
serviceAccount.annotationsobject{}
serviceAccount.namestring""
serviceMonitor.additionalLabelsobject{}Add custom labels to the ServiceMonitor resource
serviceMonitor.enabledboolfalseEnable this if you're using https://github.com/coreos/prometheus-operator
serviceMonitor.honorLabelsboolfalseChooses the metric’s labels on collisions with target labels.
serviceMonitor.intervalstring"30s"Interval at which endpoints should be scraped.
serviceMonitor.pathstring"/metrics"Path to scrape metrics
serviceMonitor.scrapeTimeoutstring"10s"Timeout for scrape metrics request
tolerationslist[]

Autogenerated from chart metadata using helm-docs v1.11.0

Deploy cloudflare-tunnel with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cloudflare-tunnel 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 chartcloudflare-tunnel is pinned at v0.4.0 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