Skip to content

Commit

Permalink
Refactor ingress.tf to update path configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlahbib committed Nov 16, 2024
1 parent c94bbcc commit 244a619
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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
5 changes: 3 additions & 2 deletions terraform/monitoring.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ resource "helm_release" "prometheus_operator" {
}
"grafana.ini" = {
server = {
root_url = "https://${var.dns_name}/grafana"
domain = var.dns_name
root_url = "https://aqemia.admida0ui.de/grafana/"
domain = "aqemia.admida0ui.de"
serve_from_sub_path = false
}
}
adminPassword = var.GRAFANA_ADMIN_PASSWORD
Expand Down

0 comments on commit 244a619

Please sign in to comment.