From 691dab71bd1e1674415b38f4daa69537d19098d8 Mon Sep 17 00:00:00 2001 From: John Murret Date: Thu, 14 Dec 2023 09:04:37 -0700 Subject: [PATCH] update template for AdminAccessLogConfig --- command/connect/envoy/bootstrap_tpl.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/command/connect/envoy/bootstrap_tpl.go b/command/connect/envoy/bootstrap_tpl.go index 21634f73ec..df6a4f0ad3 100644 --- a/command/connect/envoy/bootstrap_tpl.go +++ b/command/connect/envoy/bootstrap_tpl.go @@ -175,7 +175,13 @@ const bootstrapTemplate = `{ "access_log": [ {{- range $index, $element := .AdminAccessLogConfig}} {{if $index}},{{end}} - {{$element}} + { + "name": "envoy.access_loggers.file", + "typed_config": { + "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", + "path": "{{$element}}" + } + } {{end}}], {{- end}} "address": {