Skip to content

Commit

Permalink
Loki: Add querier config to loki helm (#7627)
Browse files Browse the repository at this point in the history
add the ability to update querier config using `values.yaml` file
  • Loading branch information
jasperjonker committed Nov 10, 2022
1 parent 1f1dd81 commit 706c22e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
9 changes: 9 additions & 0 deletions docs/sources/installation/helm/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1312,6 +1312,15 @@ null
"runAsUser": 10001
}
</pre>
</td>
</tr>
<tr>
<td>loki.querier</td>
<td>object</td>
<td>Optional querier configuration</td>
<td><pre lang="json">
{}
</pre>
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion production/helm/loki/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: loki
description: Helm chart for Grafana Loki in simple, scalable mode
type: application
appVersion: 2.6.1
version: 3.3.3
version: 3.3.4
home: https://grafana.github.io/helm-charts
sources:
- https://github.com/grafana/loki
Expand Down
2 changes: 1 addition & 1 deletion production/helm/loki/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# loki

![Version: 3.3.3](https://img.shields.io/badge/Version-3.3.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.6.1](https://img.shields.io/badge/AppVersion-2.6.1-informational?style=flat-square)
![Version: 3.3.4](https://img.shields.io/badge/Version-3.3.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.6.1](https://img.shields.io/badge/AppVersion-2.6.1-informational?style=flat-square)

Helm chart for Grafana Loki in simple, scalable mode

Expand Down
8 changes: 8 additions & 0 deletions production/helm/loki/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ loki:
{{- tpl (. | toYaml) $ | nindent 4 }}
{{- end }}
{{- with .Values.loki.querier }}
querier:
{{- tpl (. | toYaml) $ | nindent 4 }}
{{- end }}
# Should authentication be enabled
auth_enabled: true

Expand Down Expand Up @@ -259,6 +264,9 @@ loki:
# -- Optional analytics configuration
analytics: {}

# -- Optional querier configuration
querier: {}

enterprise:
# Enable enterprise features, license must be provided
enabled: false
Expand Down

0 comments on commit 706c22e

Please sign in to comment.