From 6ad2e83d60fdb69b6acf732477a51da0007eb30e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Heleno?= Date: Tue, 27 Feb 2024 13:13:32 +0100 Subject: [PATCH] fix: remove legacy ingress annotations The SSL redirection is no longer defined by these annotations, I think this is a leftover from ancient code. The HTTP -> HTTPS redirection is handled natively by the Traefik module and is enabled by default (a variable is available to deactivate it if necessary). --- locals.tf | 2 -- 1 file changed, 2 deletions(-) diff --git a/locals.tf b/locals.tf index d705e35e..6393fc07 100644 --- a/locals.tf +++ b/locals.tf @@ -8,8 +8,6 @@ locals { "cert-manager.io/cluster-issuer" = "${var.cluster_issuer}" "traefik.ingress.kubernetes.io/router.entrypoints" = "websecure" "traefik.ingress.kubernetes.io/router.tls" = "true" - "ingress.kubernetes.io/ssl-redirect" = "true" - "kubernetes.io/ingress.allow-http" = "false" } grafana_defaults = {