mirror of https://github.com/hashicorp/consul
update template for AdminAccessLogConfig
parent
1e8797522e
commit
691dab71bd
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue