Skip to content

Commit

Permalink
fix: loki storage settings (#909)
Browse files Browse the repository at this point in the history
* fix: loki storage settings
* test: enable apps in fixtures
  • Loading branch information
j-zimnowoda committed Sep 22, 2022
1 parent c55398f commit 45f9315
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions tests/fixtures/env/apps/knative copy.yaml

This file was deleted.

1 change: 1 addition & 0 deletions tests/fixtures/env/apps/loki.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apps:
loki:
enabled: true
persistence:
size: 20Gi
retention:
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/env/apps/vault.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
apps:
vault:
enabled: true
logLevel: warn
2 changes: 1 addition & 1 deletion values/loki/loki.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ config:
filesystem:
directory: /data/loki/chunks
{{- if ne ($l | get "storage.storageType" "filesystem") "filesystem" }}
{{ $l.storageType }}: {{- $l.storage | get $l.storage.storageType | toYaml | nindent 6 }}
{{ $l.storage.storageType }}: {{- $l.storage | get $l.storage.storageType | toYaml | nindent 6 }}
{{- end }}
compactor:
retention_enabled: true
Expand Down

0 comments on commit 45f9315

Please sign in to comment.