From efdb9773e34dfb790a0b7c1e7f3e44fad0039755 Mon Sep 17 00:00:00 2001 From: devantler Date: Wed, 13 Sep 2023 23:03:37 +0200 Subject: [PATCH] update tunnel --- .../base/cloudflare-tunnel/release.yaml | 19 +++++++++++++++++-- .../overlays/production/kustomization.yaml | 1 - 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/k8s/infrastructure/base/cloudflare-tunnel/release.yaml b/k8s/infrastructure/base/cloudflare-tunnel/release.yaml index af9fa971..a7d05bf4 100644 --- a/k8s/infrastructure/base/cloudflare-tunnel/release.yaml +++ b/k8s/infrastructure/base/cloudflare-tunnel/release.yaml @@ -13,5 +13,20 @@ spec: kind: HelmRepository name: cloudflare namespace: cloudflare-tunnel - - + # https://github.com/cloudflare/helm-charts/blob/main/charts/cloudflare-tunnel/values.yaml + values: + cloudflare: + # Your Cloudflare account number. + account: 634e9016d402443e427865dc35457728 + # The name of the tunnel this instance will serve + tunnelName: devantler-production + # The secret for the tunnel. + secret: cloudflare-tunnel-secret + # If true, turn on WARP routing for TCP + enableWarp: false + # Define ingress rules for the tunnel. + ingress: + - hostname: "*.${domain}" + service: https://traefik-ingress + - hostname: "${domain}" + service: https://traefik-ingress \ No newline at end of file diff --git a/k8s/infrastructure/overlays/production/kustomization.yaml b/k8s/infrastructure/overlays/production/kustomization.yaml index 0112a0ff..2a1285fe 100644 --- a/k8s/infrastructure/overlays/production/kustomization.yaml +++ b/k8s/infrastructure/overlays/production/kustomization.yaml @@ -3,4 +3,3 @@ kind: Kustomization resources: - ../../base/cert-manager - ../../base/cloudflare-tunnel - - ../../base/traefik-ingress