Skip to content

Commit

Permalink
Refactor ingress configuration to remove rewrite target annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlahbib committed Nov 17, 2024
1 parent 264be3f commit 054ee8e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions terraform/ingress.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 054ee8e

Please sign in to comment.