Skip to content

Commit af05c38

Browse files
authored
feat(helm): Add tpl() support back to read, write and backend pods (#16664)
1 parent 7a70860 commit af05c38

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

‎production/helm/loki/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Entries should include a reference to the pull request that introduced the chang
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

1616
- [CHANGE] Add extraContainers parameter for the backend pod
17+
- [CHANGE] Add `tpl()` support for backend, read, write, and admin-api components
1718

1819
## 6.27.0
1920

‎production/helm/loki/templates/admin-api/deployment-admin-api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
labels:
2626
{{- include "enterprise-logs.adminApiLabels" . | nindent 8 }}
2727
{{- with merge .Values.loki.podLabels .Values.adminApi.labels }}
28-
{{- toYaml . | nindent 8 }}
28+
{{- tpl (toYaml .) $ | nindent 8 }}
2929
{{- end }}
3030
app.kubernetes.io/part-of: memberlist
3131
annotations:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ spec:
5454
labels:
5555
{{- include "loki.backendLabels" . | nindent 8 }}
5656
{{- with merge .Values.loki.podLabels .Values.backend.podLabels }}
57-
{{- toYaml . | nindent 8 }}
57+
{{- tpl (toYaml .) $ | nindent 8 }}
5858
{{- end }}
5959
app.kubernetes.io/part-of: memberlist
6060
spec:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ spec:
5858
app.kubernetes.io/part-of: memberlist
5959
{{- include "loki.readLabels" . | nindent 8 }}
6060
{{- with merge .Values.loki.podLabels .Values.read.podLabels }}
61-
{{- toYaml . | nindent 8 }}
61+
{{- tpl (toYaml .) $ | nindent 8 }}
6262
{{- end }}
6363
spec:
6464
serviceAccountName: {{ include "loki.serviceAccountName" . }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ spec:
5757
labels:
5858
{{- include "loki.writeLabels" . | nindent 8 }}
5959
{{- with merge .Values.loki.podLabels .Values.write.podLabels }}
60-
{{- toYaml . | nindent 8 }}
60+
{{- tpl (toYaml .) $ | nindent 8 }}
6161
{{- end }}
6262
app.kubernetes.io/part-of: memberlist
6363
spec:

0 commit comments

Comments
 (0)