From 911730d7828629afebc0745c92788c4344e6885a Mon Sep 17 00:00:00 2001 From: Karim Naufal Date: Tue, 24 Oct 2023 00:55:16 +0200 Subject: [PATCH] changed traefik values to avoid breaking with the latest version of it v15 --- kube.tf.example | 4 +++- locals.tf | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/kube.tf.example b/kube.tf.example index 4321eddf..6f76aa5c 100644 --- a/kube.tf.example +++ b/kube.tf.example @@ -820,7 +820,9 @@ service: ports: web: - redirectTo: websecure + redirectTo: + port: websecure + priority: 10 proxyProtocol: trustedIPs: diff --git a/locals.tf b/locals.tf index 61c6217a..2a550f0f 100644 --- a/locals.tf +++ b/locals.tf @@ -509,7 +509,9 @@ service: ports: web: %{if var.traefik_redirect_to_https~} - redirectTo: websecure + redirectTo: + port: websecure + priority: 10 %{endif~} %{if !local.using_klipper_lb~} proxyProtocol: