From 054ee8eb1dabe74a5cec9f8944b9d069c72dd2ec Mon Sep 17 00:00:00 2001 From: adamlahbib Date: Sun, 17 Nov 2024 14:59:07 +0100 Subject: [PATCH] Refactor ingress configuration to remove rewrite target annotation --- terraform/ingress.tf | 3 --- 1 file changed, 3 deletions(-) diff --git a/terraform/ingress.tf b/terraform/ingress.tf index 6b6bb47..44575da 100644 --- a/terraform/ingress.tf +++ b/terraform/ingress.tf @@ -42,7 +42,6 @@ resource "kubernetes_ingress_v1" "dev-ingress" { name = "dev-ingress" namespace = "dev" annotations = { - "nginx.ingress.kubernetes.io/rewrite-target" = "/" "nginx.ingress.kubernetes.io/ssl-redirect" = "false" "nginx.ingress.kubernetes.io/force-ssl-redirect" = "false" "nginx.ingress.kubernetes.io/backend-protocol" = "HTTPS" @@ -85,7 +84,6 @@ resource "kubernetes_ingress_v1" "prod-ingress" { name = "prod-ingress" namespace = "prod" annotations = { - "nginx.ingress.kubernetes.io/rewrite-target" = "/" "nginx.ingress.kubernetes.io/ssl-redirect" = "false" "nginx.ingress.kubernetes.io/force-ssl-redirect" = "false" "nginx.ingress.kubernetes.io/backend-protocol" = "HTTPS" @@ -128,7 +126,6 @@ resource "kubernetes_ingress_v1" "monitoring-ingress" { name = "monitoring-ingress" namespace = "monitoring" annotations = { - "nginx.ingress.kubernetes.io/rewrite-target" = "/" "nginx.ingress.kubernetes.io/ssl-redirect" = "false" "nginx.ingress.kubernetes.io/force-ssl-redirect" = "false" "nginx.ingress.kubernetes.io/backend-protocol" = "HTTPS"