From 208fe3e4d3d21a3d1a0e4e35587fe85a2e0a6da5 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Mon, 20 May 2024 14:38:18 +0200 Subject: [PATCH] fix(traefik): ignore read timeout by default (#22280) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** ⚒️ Fixes # **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [x] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [ ] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):` or `chore(chart-name):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: Kjeld Schouten Signed-off-by: Kjeld Schouten --- charts/premium/traefik/Chart.yaml | 2 +- charts/premium/traefik/templates/_args.tpl | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/premium/traefik/Chart.yaml b/charts/premium/traefik/Chart.yaml index 900f1417ec3..c687ca10eed 100644 --- a/charts/premium/traefik/Chart.yaml +++ b/charts/premium/traefik/Chart.yaml @@ -36,4 +36,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/premium/traefik - https://github.com/truecharts/containers/tree/master/apps/traefik type: application -version: 27.0.11 +version: 27.0.12 diff --git a/charts/premium/traefik/templates/_args.tpl b/charts/premium/traefik/templates/_args.tpl index fbd7e0ae8c2..8cdaa5e27f5 100644 --- a/charts/premium/traefik/templates/_args.tpl +++ b/charts/premium/traefik/templates/_args.tpl @@ -71,6 +71,11 @@ args: - "--providers.kubernetesingress.ingressclass={{ .Release.Name }}" {{- end }} {{- range $entrypoint, $config := $ports }} + {{- if and $config.transport $config.transport.respondingTimeouts }} + - "--entryPoints.{{ $entrypoint }}.transport.respondingTimeouts.readTimeout={{ $config.transport.respondingTimeouts.readTimeout| default 0 }}" + {{- else }} + - "--entryPoints.{{ $entrypoint }}.transport.respondingTimeouts.readTimeout=0" + {{- end }} {{/* add args for proxyProtocol support */}} {{- if $config.proxyProtocol }} {{- if $config.proxyProtocol.enabled }}