From 196607ae370bb459ce0c05a14315cc80bde6bca4 Mon Sep 17 00:00:00 2001 From: Wout Van De Wiel Date: Fri, 26 Jul 2024 15:01:14 +0200 Subject: [PATCH 1/3] feat(promtail): allow to inject templates Signed-off-by: Wout Van De Wiel --- charts/promtail/Chart.yaml | 2 +- charts/promtail/templates/_pod.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/promtail/Chart.yaml b/charts/promtail/Chart.yaml index dc6ca74c86..a55bfba3ca 100644 --- a/charts/promtail/Chart.yaml +++ b/charts/promtail/Chart.yaml @@ -3,7 +3,7 @@ name: promtail description: Promtail is an agent which ships the contents of local logs to a Loki instance type: application appVersion: 3.0.0 -version: 6.16.4 +version: 6.17.0 home: https://grafana.com/loki sources: - https://github.com/grafana/loki diff --git a/charts/promtail/templates/_pod.tpl b/charts/promtail/templates/_pod.tpl index 3a366a599f..70c90b29ae 100644 --- a/charts/promtail/templates/_pod.tpl +++ b/charts/promtail/templates/_pod.tpl @@ -26,7 +26,7 @@ spec: {{- end }} {{- with .Values.initContainer }} initContainers: - {{- toYaml . | nindent 4 }} + {{- tpl (toYaml .) $ | nindent 4 }} {{- end }} {{- with .Values.global.imagePullSecrets | default .Values.imagePullSecrets }} imagePullSecrets: @@ -166,6 +166,6 @@ spec: {{- toYaml . | nindent 4 }} {{- end }} {{- with .Values.extraVolumes }} - {{- toYaml . | nindent 4 }} + {{- tpl (toYaml .) $ | nindent 4 }} {{- end }} {{- end }} From e6c14a70b189d3ebe972cacc55dbf519ca7e795e Mon Sep 17 00:00:00 2001 From: Wout Van De Wiel Date: Tue, 30 Jul 2024 07:59:33 +0200 Subject: [PATCH 2/3] docs(promtail): generate docs Signed-off-by: Wout Van De Wiel --- charts/promtail/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/promtail/README.md b/charts/promtail/README.md index 45a4504a80..c149358de5 100644 --- a/charts/promtail/README.md +++ b/charts/promtail/README.md @@ -1,6 +1,6 @@ # promtail -![Version: 6.16.4](https://img.shields.io/badge/Version-6.16.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square) +![Version: 6.17.0](https://img.shields.io/badge/Version-6.17.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square) Promtail is an agent which ships the contents of local logs to a Loki instance From 94835763e8ad488722195da738fe8bc072361656 Mon Sep 17 00:00:00 2001 From: Wout Van De Wiel Date: Tue, 17 Sep 2024 22:24:08 +0200 Subject: [PATCH 3/3] Bump patch version Co-authored-by: Mohammad Abubaker Signed-off-by: Wout Van De Wiel --- charts/promtail/Chart.yaml | 2 +- charts/promtail/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/promtail/Chart.yaml b/charts/promtail/Chart.yaml index a55bfba3ca..bd862703f2 100644 --- a/charts/promtail/Chart.yaml +++ b/charts/promtail/Chart.yaml @@ -3,7 +3,7 @@ name: promtail description: Promtail is an agent which ships the contents of local logs to a Loki instance type: application appVersion: 3.0.0 -version: 6.17.0 +version: 6.16.6 home: https://grafana.com/loki sources: - https://github.com/grafana/loki diff --git a/charts/promtail/README.md b/charts/promtail/README.md index f82e27f816..ed9aa7abdc 100644 --- a/charts/promtail/README.md +++ b/charts/promtail/README.md @@ -1,6 +1,6 @@ # promtail -![Version: 6.17.0](https://img.shields.io/badge/Version-6.17.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square) +![Version: 6.16.6](https://img.shields.io/badge/Version-6.16.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square) Promtail is an agent which ships the contents of local logs to a Loki instance