Skip to content

Commit 816a4f9

Browse files
author
Matt Barber
committed
add extraContainers property to the backend pod
1 parent b05cbe1 commit 816a4f9

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ This is the generated reference for the Loki Helm Chart values.
324324
},
325325
"dnsConfig": {},
326326
"extraArgs": [],
327+
"extraContainers": [],
327328
"extraEnv": [],
328329
"extraEnvFrom": [],
329330
"extraVolumeMounts": [],
@@ -453,6 +454,15 @@ null
453454
<td><pre lang="json">
454455
[]
455456
</pre>
457+
</td>
458+
</tr>
459+
<tr>
460+
<td>backend.extraContainers</td>
461+
<td>list</td>
462+
<td>Containers to add to the backend pods</td>
463+
<td><pre lang="json">
464+
[]
465+
</pre>
456466
</td>
457467
</tr>
458468
<tr>

‎production/helm/loki/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +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+
- [CHANGE] Add extraContainers parameter for the backend pod
17+
1618
## 6.25.1
1719

1820
- [BUGFIX] Disable service monitor for nginx service.

‎production/helm/loki/templates/backend/statefulset-backend.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ spec:
207207
{{- end }}
208208
resources:
209209
{{- toYaml .Values.backend.resources | nindent 12 }}
210+
{{- with .Values.backend.extraContainers }}
211+
{{- toYaml . | nindent 8}}
212+
{{- end }}
210213
{{- with .Values.backend.affinity }}
211214
affinity:
212215
{{- toYaml . | nindent 8 }}

‎production/helm/loki/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1690,6 +1690,8 @@ backend:
16901690
extraEnvFrom: []
16911691
# -- Init containers to add to the backend pods
16921692
initContainers: []
1693+
# -- Containers to add to the backend pods
1694+
extraContainers: []
16931695
# -- Volume mounts to add to the backend pods
16941696
extraVolumeMounts: []
16951697
# -- Volumes to add to the backend pods

0 commit comments

Comments
 (0)