Helm: Add ingester config in helm values (#7733)

**What this PR does / why we need it**:
Allow configuring ingester config from helm values:
https://grafana.com/docs/loki/latest/configuration/#ingester
We wanted to change the default chunk_encoding, which right now not
possible in the current values template.

Co-authored-by: Trevor Whitney <trevorjwhitney@gmail.com>
pull/8179/head helm-loki-4.3.0
Prabuddha Chakraborty 2 years ago committed by GitHub
parent 94ee5a2930
commit 20627ad000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      docs/sources/installation/helm/reference.md
  2. 2
      production/helm/loki/Chart.yaml
  3. 2
      production/helm/loki/README.md
  4. 8
      production/helm/loki/values.yaml

@ -1637,6 +1637,15 @@ true
<td><pre lang="json">
"main-5e53303"
</pre>
</td>
</tr>
<tr>
<td>loki.ingester</td>
<td>object</td>
<td>Optional ingester configuration</td>
<td><pre lang="json">
{}
</pre>
</td>
</tr>
<tr>

@ -4,7 +4,7 @@ name: loki
description: Helm chart for Grafana Loki in simple, scalable mode
type: application
appVersion: 2.7.0
version: 4.2.0
version: 4.3.0
home: https://grafana.github.io/helm-charts
sources:
- https://github.com/grafana/loki

@ -1,6 +1,6 @@
# loki
![Version: 4.2.0](https://img.shields.io/badge/Version-4.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.7.0](https://img.shields.io/badge/AppVersion-2.7.0-informational?style=flat-square)
![Version: 4.3.0](https://img.shields.io/badge/Version-4.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.7.0](https://img.shields.io/badge/AppVersion-2.7.0-informational?style=flat-square)
Helm chart for Grafana Loki in simple, scalable mode

@ -96,6 +96,11 @@ loki:
{{- end }}
{{- end }}
{{- with .Values.loki.ingester }}
ingester:
{{- tpl (. | toYaml) $ | nindent 4 }}
{{- end }}
{{- if .Values.loki.commonConfig}}
common:
{{- toYaml .Values.loki.commonConfig | nindent 2}}
@ -288,6 +293,9 @@ loki:
# -- Optional querier configuration
querier: {}
# -- Optional ingester configuration
ingester: {}
enterprise:
# Enable enterprise features, license must be provided
enabled: false

Loading…
Cancel
Save