Skip to content

Commit

Permalink
Refactor ingress.tf to remove trailing slashes in path configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlahbib committed Nov 16, 2024
1 parent ad75406 commit c94bbcc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions terraform/ingress.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ resource "kubernetes_ingress_v1" "dev-ingress" {

http {
path {
path = "/dev/"
path = "/dev"
path_type = "Prefix"
backend{
service {
Expand Down Expand Up @@ -114,7 +114,7 @@ resource "kubernetes_ingress_v1" "monitoring-ingress" {

http {
path {
path = "/grafana/"
path = "/grafana"
path_type = "Prefix"
backend{
service {
Expand All @@ -126,7 +126,7 @@ resource "kubernetes_ingress_v1" "monitoring-ingress" {
}
}
path {
path = "/falco/"
path = "/falco"
path_type = "Prefix"
backend{
service {
Expand Down
2 changes: 1 addition & 1 deletion terraform/monitoring.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit c94bbcc

Please sign in to comment.