From a6e88f22d17cfb21d2b155012586895d5caf4f81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20=C5=A0pl=C3=ADchal?= Date: Mon, 23 Dec 2024 20:16:39 +0100 Subject: [PATCH] fix: alloy.mounts.extra adding unnecessary newline --- operations/helm/charts/alloy/templates/containers/_agent.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/operations/helm/charts/alloy/templates/containers/_agent.yaml b/operations/helm/charts/alloy/templates/containers/_agent.yaml index 0727821cfe..99aad8ecd9 100644 --- a/operations/helm/charts/alloy/templates/containers/_agent.yaml +++ b/operations/helm/charts/alloy/templates/containers/_agent.yaml @@ -82,7 +82,7 @@ mountPath: /var/lib/docker/containers readOnly: true {{- end }} - {{- range $values.mounts.extra }} - - {{- toYaml . | nindent 6 }} + {{- with $values.mounts.extra }} + {{- toYaml . | nindent 4 }} {{- end }} {{- end }}