From 782e25890d0732134b9e7462ad01b008dd52b30f Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Mon, 13 Apr 2026 00:50:53 +0300 Subject: [PATCH] Add custom error404 page to both tunnels --- charts/cloudflare-tunnel/templates/configmap.yaml | 4 ++-- manifests/cloudflare-tunnel-infra/values.yaml | 1 - manifests/cloudflare-tunnel-my-apps/values.yaml | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/charts/cloudflare-tunnel/templates/configmap.yaml b/charts/cloudflare-tunnel/templates/configmap.yaml index 07d5219..81475fe 100644 --- a/charts/cloudflare-tunnel/templates/configmap.yaml +++ b/charts/cloudflare-tunnel/templates/configmap.yaml @@ -25,5 +25,5 @@ data: {{- with .Values.cloudflare.ingress }} {{- toYaml . | nindent 6 }} {{- end }} - # This rule matches any traffic which didn't match a previous rule, and responds with HTTP 404. - - service: http_status:404 + # This rule matches any traffic which didn't match a previous rule, and forwards to the error page. + - service: http://errorlab.my-apps.svc.cluster.local:80 diff --git a/manifests/cloudflare-tunnel-infra/values.yaml b/manifests/cloudflare-tunnel-infra/values.yaml index a3770ec..f8e41bc 100644 --- a/manifests/cloudflare-tunnel-infra/values.yaml +++ b/manifests/cloudflare-tunnel-infra/values.yaml @@ -21,7 +21,6 @@ cloudflare: service: http://minio-bitnami.infra.svc.cluster.local:9001 - hostname: s3.dvirlabs.com service: http://minio-bitnami.infra.svc.cluster.local:9000 - - service: http://errorlab.my-apps.svc.cluster.local:80 image: repository: cloudflare/cloudflared tag: "2026.3.0" diff --git a/manifests/cloudflare-tunnel-my-apps/values.yaml b/manifests/cloudflare-tunnel-my-apps/values.yaml index 456e13c..a27a6f8 100644 --- a/manifests/cloudflare-tunnel-my-apps/values.yaml +++ b/manifests/cloudflare-tunnel-my-apps/values.yaml @@ -45,7 +45,6 @@ cloudflare: service: http://navix-frontend.my-apps.svc.cluster.local:80 - hostname: chat.dvirlabs.com service: http://open-webui.ai-stack.svc.cluster.local:80 - - service: http://errorlab.my-apps.svc.cluster.local:80 image: repository: cloudflare/cloudflared