Skip to content

Commit

Permalink
e2e: fix accesslog test
Browse files Browse the repository at this point in the history
Signed-off-by: zirain <zirain2009@gmail.com>
  • Loading branch information
zirain authored and Alice-Lilith committed Jul 3, 2024
1 parent 4602f6d commit 737b282
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions test/config/gatewayclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,18 @@ spec:
port: 4317
resources:
k8s.cluster.name: "envoy-gateway"
- type: ALS
als:
backendRefs:
- name: envoy-als
namespace: monitoring
port: 8080
type: HTTP
- format:
type: Text
text: |
[%START_TIME%] "%REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)% %PROTOCOL%" %RESPONSE_CODE% %RESPONSE_FLAGS% %BYTES_RECEIVED% %BYTES_SENT% %DURATION% "%REQ(X-FORWARDED-FOR)%" "%REQ(USER-AGENT)%" "%REQ(X-REQUEST-ID)%" "%REQ(:AUTHORITY)%" "%UPSTREAM_HOST%"
sinks:
- type: ALS
als:
backendRefs:
- name: envoy-als
namespace: monitoring
port: 8080
type: HTTP
tracing:
provider:
backendRefs:
Expand Down

0 comments on commit 737b282

Please sign in to comment.