Skip to content

Commit 901b2b0

Browse files
paulojmdiasJSticklerJayclifford345
authored
feat(helm): add tpl support for pattern_ingester and ingester_client (#16759)
Signed-off-by: Paulo Dias <[email protected]> Signed-off-by: Paulo Dias <[email protected]> Co-authored-by: J Stickler <[email protected]> Co-authored-by: Jay Clifford <[email protected]>
1 parent 19233d0 commit 901b2b0

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

docs/sources/setup/install/helm/reference.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6666,6 +6666,15 @@ See values.yaml
66666666
<td><pre lang="json">
66676667
{}
66686668
</pre>
6669+
</td>
6670+
</tr>
6671+
<tr>
6672+
<td>loki.compactor_grpc_client</td>
6673+
<td>object</td>
6674+
<td>Optional compactor grpc client configuration</td>
6675+
<td><pre lang="json">
6676+
{}
6677+
</pre>
66696678
</td>
66706679
</tr>
66716680
<tr>
@@ -6811,6 +6820,15 @@ null
68116820
<td><pre lang="json">
68126821
{}
68136822
</pre>
6823+
</td>
6824+
</tr>
6825+
<tr>
6826+
<td>loki.ingester_client</td>
6827+
<td>object</td>
6828+
<td>Optional ingester client configuration</td>
6829+
<td><pre lang="json">
6830+
{}
6831+
</pre>
68146832
</td>
68156833
</tr>
68166834
<tr>

production/helm/loki/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Entries should include a reference to the pull request that introduced the chang
1313

1414
[//]: # (<AUTOMATED_UPDATES_LOCATOR> : do not remove this line. This locator is used by the CI pipeline to automatically create a changelog entry for each new Loki release. Add other chart versions and respective changelog entries bellow this line.)
1515

16-
- [BUGFIX] make loki.storage.bucketNames are optional, if builtin minio is enabled.
16+
- [CHANGE] Add `tpl()` support for `pattern_ingester`, `ingester_client` and `compactor_grpc_client` components. [#16759](https://github.com/grafana/loki/pull/16759)
17+
- [BUGFIX] make loki.storage.bucketNames are optional, if builtin minio is enabled. [#18653](https://github.com/grafana/loki/pull/18653)
1718
- [FEATURE] Added a Helm Chart value to disable the rbac resource creation for the tokengen job. [#15882](https://github.com/grafana/loki/pull/15882)
1819
- [FEATURE] Added support to disable the rbac resource creation for the tokengen job. [#15882](https://github.com/grafana/loki/pull/15882)
1920

@@ -30,6 +31,7 @@ Entries should include a reference to the pull request that introduced the chang
3031
- [BUGFIX] Add validation for loki.storage.bucketNames [#13781](https://github.com/grafana/loki/pull/13781)
3132
- [BUGFIX] Create missing RBAC for the rules sidecar when RBAC is namespaced [#16776](https://github.com/grafana/loki/pull/16776)
3233
- [BUGFIX] Ensure the scc is actually allowing to use hostPath volumes when the rbac.sccAllowHostDirVolumePlugin is set to true [#17680](https://github.com/grafana/loki/pull/17680)
34+
3335
## 6.33.0
3436

3537
- [FEATURE] Allow passing tenant password hash instead of password. [#17049](https://github.com/grafana/loki/pull/17049)

production/helm/loki/values.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,10 @@ loki:
155155
{{- toYaml . | nindent 2}}
156156
{{- end}}
157157
158+
{{- with .Values.loki.pattern_ingester }}
158159
pattern_ingester:
159-
enabled: {{ .Values.loki.pattern_ingester.enabled }}
160+
{{- tpl (. | toYaml) $ | nindent 4 }}
161+
{{- end }}
160162
161163
memberlist:
162164
{{- if .Values.loki.memberlistConfig }}
@@ -179,6 +181,11 @@ loki:
179181
{{- tpl (. | toYaml) $ | nindent 4 }}
180182
{{- end }}
181183
184+
{{- with .Values.loki.ingester_client }}
185+
ingester_client:
186+
{{- tpl (. | toYaml) $ | nindent 4 }}
187+
{{- end }}
188+
182189
{{- with .Values.loki.block_builder }}
183190
block_builder:
184191
{{- tpl (. | toYaml) $ | nindent 4 }}
@@ -304,6 +311,11 @@ loki:
304311
{{- tpl (. | toYaml) $ | nindent 4 }}
305312
{{- end }}
306313
314+
{{- with .Values.loki.compactor_grpc_client }}
315+
compactor_grpc_client:
316+
{{- tpl (. | toYaml) $ | nindent 4 }}
317+
{{- end }}
318+
307319
{{- with .Values.loki.analytics }}
308320
analytics:
309321
{{- tpl (. | toYaml) $ | nindent 4 }}
@@ -535,6 +547,8 @@ loki:
535547
up_to: 3
536548
# -- Optional compactor configuration
537549
compactor: {}
550+
# -- Optional compactor grpc client configuration
551+
compactor_grpc_client: {}
538552
# -- Optional pattern ingester configuration
539553
pattern_ingester:
540554
enabled: false
@@ -553,6 +567,8 @@ loki:
553567
querier: {}
554568
# -- Optional ingester configuration
555569
ingester: {}
570+
# -- Optional ingester client configuration
571+
ingester_client: {}
556572
# -- Optional block builder configuration
557573
block_builder: {}
558574
# -- Optional index gateway configuration

0 commit comments

Comments
 (0)