Fix envoy access log telemetry API to specify envoy as provider. (#10830)

* Fix envoy access log telemetry API to specify envoy as provider.

* word.

* gen
This commit is contained in:
Pengyuan Bian 2022-01-24 13:17:47 -08:00 committed by GitHub
parent 7af17e1d4f
commit ec2d933288
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -35,10 +35,11 @@ metadata:
namespace: istio-system
spec:
accessLogging:
- {}
- providers:
- name: envoy
{{< /text >}}
The above example provides and empty object (`{}`), as we do not want to configure anything other than default settings.
The above example uses the default `envoy` access log provider, and we do not configure anything other than default settings.
Similar configuration can also be applied on an individual namespace, or to an individual workload, to control logging at a fine grained level.

View File

@ -30,7 +30,8 @@ metadata:
namespace: istio-system
spec:
accessLogging:
- {}
- providers:
- name: envoy
ENDSNIP
! read -r -d '' snip_using_mesh_config_1 <<\ENDSNIP