diff --git a/pkg/monitoring/alloy/templates/monitoring-secret.yaml.template b/pkg/monitoring/alloy/templates/monitoring-secret.yaml.template index 3a63bcbb..e851c6a5 100644 --- a/pkg/monitoring/alloy/templates/monitoring-secret.yaml.template +++ b/pkg/monitoring/alloy/templates/monitoring-secret.yaml.template @@ -2,5 +2,6 @@ alloy: alloy: extraEnv: {{- range . }} - - {{ .Name }}={{ .Value }} + - name: "{{ .Name }}" + value: "{{ .Value }}" {{- end }}