Skip to content

Commit

Permalink
update the loki tests to use the 3.0 helm chart schema (#2568)
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Wolf <[email protected]>
  • Loading branch information
joshrwolf authored Apr 25, 2024
1 parent 042bbc0 commit 4149e77
Showing 1 changed file with 48 additions and 7 deletions.
55 changes: 48 additions & 7 deletions images/loki/tests/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ module "helm" {
repo = "https://grafana.github.io/helm-charts"

values = {
deploymentMode = "SingleBinary"
loki = {
commonConfig = {
replication_factor = 1
Expand All @@ -38,10 +39,19 @@ module "helm" {
storage = {
type = "filesystem"
}
}
backend = {
persistence = {
size = "1Gi"
schemaConfig = {
configs = [
{
from = "2024-01-01"
store = "tsdb"
index = {
prefix = "loki_index_"
period = "24h"
}
object_store = "filesystem"
schema = "v13"
}
]
}
}
singleBinary = {
Expand All @@ -53,10 +63,41 @@ module "helm" {
repository = data.oci_string.ref.repo
tag = data.oci_string.ref.pseudo_tag
}
backend = {
replicas = 0
}
read = {
replicas = 0
}
write = {
persistence = {
size = "1Gi"
}
replicas = 0
}
ingester = {
replicas = 0
}
querier = {
replicas = 0
}
queryFrontend = {
replicas = 0
}
queryScheduler = {
replicas = 0
}
distributor = {
replicas = 0
}
compactor = {
replicas = 0
}
indexGateway = {
replicas = 0
}
bloomCompactor = {
replicas = 0
}
bloomGateway = {
replicas = 0
}
}
}
Expand Down

0 comments on commit 4149e77

Please sign in to comment.