This commit is contained in:
2024-01-23 17:13:38 +01:00
parent 6f5d34e26f
commit f00ed8f542
2 changed files with 21 additions and 21 deletions

View File

@@ -13,7 +13,7 @@ resource "kubectl_manifest" "datasource" {
- name: Loki
type: loki
access: proxy
url: "http://loki:3100"
url: "http://loki.${var.namespace}.svc:3100"
version: 1
isDefault: false
jsonData:
@@ -30,7 +30,7 @@ resource "kubectl_manifest" "config" {
labels: ${jsonencode(local.common-labels)}
data:
config.yaml: |
auth_enabled: true
auth_enabled: false
common:
compactor_address: 'loki'
path_prefix: /var/loki