update template for AdminAccessLogConfig

pull/19940/head
John Murret 2023-12-14 09:04:37 -07:00
parent 1e8797522e
commit 691dab71bd
1 changed files with 7 additions and 1 deletions

View File

@ -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": {