Skip to content

Commit

Permalink
Fix loki gateway url when deployed on non-dev namespace (nebari-dev#2327
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dcmcand authored Mar 18, 2024
2 parents 9f945c4 + 0a00024 commit 13923e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,14 @@ resource "helm_release" "prometheus-grafana" {
"${var.node-group.key}" = var.node-group.value
}

additionalDataSources = [
{
name = "Loki"
type = "loki"
url = "http://loki-gateway.${var.namespace}"
}
]

# Avoid using the default password, as that's a security risk
adminPassword : random_password.grafana_admin_password.result

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
# https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/values.yaml

grafana:
additionalDataSources:
- name: Loki
type: loki
url: http://loki-gateway.dev

0 comments on commit 13923e4

Please sign in to comment.