diff --git a/charts/cloudflare-tunnel/templates/configmap.yaml b/charts/cloudflare-tunnel/templates/configmap.yaml index 07d5219..e6274b5 100644 --- a/charts/cloudflare-tunnel/templates/configmap.yaml +++ b/charts/cloudflare-tunnel/templates/configmap.yaml @@ -27,3 +27,7 @@ data: {{- end }} # This rule matches any traffic which didn't match a previous rule, and responds with HTTP 404. - service: http_status:404 + {{- with .Values.cloudflare.originRequest }} + originRequest: + {{- toYaml . | nindent 6 }} + {{- end }}