fix: add Loki schema config and chart preflight validation
Some checks failed
Deploy Cluster / Terraform (push) Successful in 48s
Deploy Cluster / Ansible (push) Failing after 29m39s

This commit is contained in:
2026-03-02 02:23:18 +00:00
parent 558f34e2b1
commit 10ee303995
2 changed files with 17 additions and 0 deletions

View File

@@ -58,6 +58,14 @@
dest: /tmp/loki-values.yaml
mode: "0644"
- name: Validate Loki Helm values
command: >-
helm template loki grafana/loki
--namespace {{ observability_namespace }}
--version {{ loki_chart_version }}
--values /tmp/loki-values.yaml
changed_when: false
- name: Install Loki
command: >-
helm upgrade --install loki grafana/loki

View File

@@ -4,6 +4,15 @@ loki:
auth_enabled: false
commonConfig:
replication_factor: 1
schemaConfig:
configs:
- from: "2024-01-01"
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: loki_index_
period: 24h
storage:
type: filesystem