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 }}