From c94bbcc01a28106b89aafd486b1c98a7de6c491c Mon Sep 17 00:00:00 2001 From: adamlahbib Date: Sat, 16 Nov 2024 21:27:27 +0100 Subject: [PATCH] Refactor ingress.tf to remove trailing slashes in path configurations --- terraform/ingress.tf | 6 +++--- terraform/monitoring.tf | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/terraform/ingress.tf b/terraform/ingress.tf index fc339a3..3361375 100644 --- a/terraform/ingress.tf +++ b/terraform/ingress.tf @@ -46,7 +46,7 @@ resource "kubernetes_ingress_v1" "dev-ingress" { http { path { - path = "/dev/" + path = "/dev" path_type = "Prefix" backend{ service { @@ -114,7 +114,7 @@ resource "kubernetes_ingress_v1" "monitoring-ingress" { http { path { - path = "/grafana/" + path = "/grafana" path_type = "Prefix" backend{ service { @@ -126,7 +126,7 @@ resource "kubernetes_ingress_v1" "monitoring-ingress" { } } path { - path = "/falco/" + path = "/falco" path_type = "Prefix" backend{ service { diff --git a/terraform/monitoring.tf b/terraform/monitoring.tf index c173578..1393f81 100644 --- a/terraform/monitoring.tf +++ b/terraform/monitoring.tf @@ -38,7 +38,7 @@ resource "helm_release" "prometheus_operator" { } "grafana.ini" = { server = { - root_url = "https://${var.dns_name}/grafana/" + root_url = "https://${var.dns_name}/grafana" domain = var.dns_name } }