Envoy Gateway Log Injection Vulnerability
Description
Envoy Gateway is an open source project for managing Envoy Proxy as a standalone or Kubernetes-based application gateway. In all Envoy Gateway versions prior to 1.2.7 and 1.3.1 a default Envoy Proxy access log configuration is used. This format is vulnerable to log injection attacks. If the attacker uses a specially crafted user-agent which performs json injection, then he could add and overwrite fields to the access log. This vulnerability is fixed in 1.3.1 and 1.2.7. One can overwrite the old text based default format with JSON formatter by modifying the "EnvoyProxy.spec.telemetry.accessLog" setting.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/envoyproxy/gatewayGo | < 1.2.7 | 1.2.7 |
github.com/envoyproxy/gatewayGo | >= 1.3.0-rc.1, < 1.3.1 | 1.3.1 |
Affected products
1- Range: >= 1.3.0-rc.1, < 1.3.1
Patches
3041d474a70d5Merge commit from fork
300 files changed · +1544 −477
internal/cmd/egctl/testdata/translate/out/default-resources.all.yaml+250 −30 modified@@ -893,9 +893,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -911,9 +933,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -952,9 +996,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -970,9 +1036,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -1019,9 +1107,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -1037,9 +1147,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tcproute/default/backend/rule/-1 statPrefix: tcp-1234 @@ -1058,9 +1190,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -1079,9 +1233,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tlsroute/default/backend/rule/-1 statPrefix: tls-passthrough-8443 @@ -1104,9 +1280,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -1122,9 +1320,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout matcher: onNoMatch:
internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.all.json+250 −20 modified@@ -634,8 +634,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -660,8 +683,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -725,8 +771,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -751,8 +820,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -830,8 +922,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -857,8 +972,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -895,8 +1033,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -927,8 +1088,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -973,8 +1157,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -999,8 +1206,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout"
internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.all.yaml+250 −30 modified@@ -368,9 +368,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -386,9 +408,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -427,9 +471,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -445,9 +511,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -494,9 +582,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -512,9 +622,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tcproute/default/backend/rule/-1 statPrefix: tcp-1234 @@ -533,9 +665,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -554,9 +708,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tlsroute/default/backend/rule/-1 statPrefix: tls-passthrough-8443 @@ -579,9 +755,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -597,9 +795,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout matcher: onNoMatch:
internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.listener.yaml+250 −30 modified@@ -14,9 +14,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -32,9 +54,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -73,9 +117,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -91,9 +157,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -140,9 +228,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -158,9 +268,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tcproute/default/backend/rule/-1 statPrefix: tcp-1234 @@ -179,9 +311,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -200,9 +354,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tlsroute/default/backend/rule/-1 statPrefix: tls-passthrough-8443 @@ -225,9 +401,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -243,9 +441,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout matcher: onNoMatch:
internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.json+50 −4 modified@@ -457,8 +457,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -483,8 +506,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout"
internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.yaml+50 −6 modified@@ -263,9 +263,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -281,9 +303,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST
internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.listener.yaml+50 −6 modified@@ -14,9 +14,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -32,9 +54,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST
internal/cmd/egctl/testdata/translate/out/no-service-cluster-ip.all.yaml+50 −6 modified@@ -225,9 +225,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -243,9 +265,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST
internal/cmd/egctl/testdata/translate/out/quickstart.all.yaml+1 −1 modified@@ -92,7 +92,7 @@ infraIR: xdsIR: envoy-gateway-system/eg: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/listener.go+6 −6 modified@@ -247,7 +247,7 @@ func (t *Translator) processAccessLog(envoyproxy *egv1a1.EnvoyProxy, resources * (!envoyproxy.Spec.Telemetry.AccessLog.Disable && len(envoyproxy.Spec.Telemetry.AccessLog.Settings) == 0) { // use the default access log return &ir.AccessLog{ - Text: []*ir.TextAccessLog{ + JSON: []*ir.JSONAccessLog{ { Path: "/dev/stdout", }, @@ -276,8 +276,8 @@ func (t *Translator) processAccessLog(envoyproxy *egv1a1.EnvoyProxy, resources * format = *accessLog.Format } else { format = egv1a1.ProxyAccessLogFormat{ - Type: egv1a1.ProxyAccessLogFormatTypeText, - // Empty text format means default format + Type: egv1a1.ProxyAccessLogFormatTypeJSON, + // Empty means default format } } @@ -297,13 +297,13 @@ func (t *Translator) processAccessLog(envoyproxy *egv1a1.EnvoyProxy, resources * } if len(accessLog.Sinks) == 0 { - al := &ir.TextAccessLog{ - Format: format.Text, + al := &ir.JSONAccessLog{ + JSON: format.JSON, CELMatches: validExprs, LogType: accessLogType, Path: "/dev/stdout", } - irAccessLog.Text = append(irAccessLog.Text, al) + irAccessLog.JSON = append(irAccessLog.JSON, al) } for j, sink := range accessLog.Sinks {
internal/gatewayapi/testdata/backend-invalid-feature-disabled.out.yaml+1 −1 modified@@ -150,7 +150,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-across-ns.out.yaml+1 −1 modified@@ -118,7 +118,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-ca-only.out.yaml+1 −1 modified@@ -129,7 +129,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-ca-only-secret.out.yaml+1 −1 modified@@ -129,7 +129,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-default-ns.out.yaml+1 −1 modified@@ -224,7 +224,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-default-ns-targetrefs.out.yaml+2 −2 modified@@ -263,7 +263,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -320,7 +320,7 @@ xdsIR: name: "" envoy-gateway/gateway-btls2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-invalid-ca.out.yaml+1 −1 modified@@ -129,7 +129,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-multiple-targets.out.yaml+1 −1 modified@@ -171,7 +171,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-system-truststore.out.yaml+1 −1 modified@@ -126,7 +126,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit-out-of-range-error.out.yaml+2 −2 modified@@ -246,7 +246,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -289,7 +289,7 @@ xdsIR: connectTimeout: 15s envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit.out.yaml+2 −2 modified@@ -246,7 +246,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -289,7 +289,7 @@ xdsIR: connectTimeout: 15s envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit-with-invalid-value.out.yaml+2 −2 modified@@ -246,7 +246,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -289,7 +289,7 @@ xdsIR: connectTimeout: 15s envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-override-replace.out.yaml+1 −1 modified@@ -269,7 +269,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-status-conditions.out.yaml+3 −3 modified@@ -518,7 +518,7 @@ infraIR: xdsIR: another-namespace/not-same-namespace-gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -537,7 +537,7 @@ xdsIR: port: 10080 envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -575,7 +575,7 @@ xdsIR: traffic: {} envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-status-fault-injection.out.yaml+2 −2 modified@@ -326,7 +326,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -370,7 +370,7 @@ xdsIR: percentage: 80 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-use-client-protocol.out.yaml+1 −1 modified@@ -124,7 +124,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-circuitbreakers-error.out.yaml+2 −2 modified@@ -308,7 +308,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -346,7 +346,7 @@ xdsIR: name: grpcroute/default/grpcroute-1/rule/0/match/-1/* envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-circuitbreakers.out.yaml+2 −2 modified@@ -250,7 +250,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -293,7 +293,7 @@ xdsIR: maxRequestsPerConnection: 1 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-dns-settings.out.yaml+2 −2 modified@@ -315,7 +315,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -359,7 +359,7 @@ xdsIR: respectDnsTtl: true envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-healthcheck.out.yaml+2 −2 modified@@ -675,7 +675,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -784,7 +784,7 @@ xdsIR: unhealthyThreshold: 3 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-http2.out.yaml+2 −2 modified@@ -248,7 +248,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -290,7 +290,7 @@ xdsIR: resetStreamOnError: false envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-httproute-timeout.out.yaml+1 −1 modified@@ -205,7 +205,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-loadbalancer-invalid-consistent-hash-table-size.out.yaml+1 −1 modified@@ -198,7 +198,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-loadbalancer.out.yaml+2 −2 modified@@ -418,7 +418,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -457,7 +457,7 @@ xdsIR: random: {} envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-default-route-level-limit.out.yaml+1 −1 modified@@ -147,7 +147,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-limit-unit.out.yaml+1 −1 modified@@ -151,7 +151,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-match-type.out.yaml+1 −1 modified@@ -147,7 +147,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-multiple-route-level-limits.out.yaml+1 −1 modified@@ -154,7 +154,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit.out.yaml+1 −1 modified@@ -150,7 +150,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-proxyprotocol.out.yaml+2 −2 modified@@ -242,7 +242,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -281,7 +281,7 @@ xdsIR: version: V1 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit-invalid-distinct-invert.out.yaml+1 −1 modified@@ -131,7 +131,7 @@ infraIR: xdsIR: envoy-gateway/gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit-invalid-regex.out.yaml+1 −1 modified@@ -133,7 +133,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit.out.yaml+2 −2 modified@@ -265,7 +265,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -318,7 +318,7 @@ xdsIR: unit: Hour envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-response-override-invalid-valueref.out.yaml+2 −2 modified@@ -291,7 +291,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -329,7 +329,7 @@ xdsIR: name: grpcroute/default/grpcroute-1/rule/0/match/-1/* default/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-response-override.out.yaml+2 −2 modified@@ -290,7 +290,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -350,7 +350,7 @@ xdsIR: contentType: application/json default/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-retries.out.yaml+2 −2 modified@@ -261,7 +261,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -307,7 +307,7 @@ xdsIR: - cancelled envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-same-prefix-httproutes.out.yaml+1 −1 modified@@ -166,7 +166,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-tcpkeepalive.out.yaml+2 −2 modified@@ -246,7 +246,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -287,7 +287,7 @@ xdsIR: probes: 3 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-gateway.out.yaml+1 −1 modified@@ -230,7 +230,7 @@ udpRoutes: xdsIR: default/tcp-gateway: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-route.out.yaml+1 −1 modified@@ -303,7 +303,7 @@ udpRoutes: xdsIR: default/tcp-gateway: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout-error.out.yaml+1 −1 modified@@ -124,7 +124,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout.out.yaml+2 −2 modified@@ -254,7 +254,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -298,7 +298,7 @@ xdsIR: connectTimeout: 15s envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout-targetrefs.out.yaml+2 −2 modified@@ -234,7 +234,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -274,7 +274,7 @@ xdsIR: connectTimeout: 15s envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backend-with-fallback.out.yaml+1 −1 modified@@ -135,7 +135,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit.out.yaml+1 −1 modified@@ -156,7 +156,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit-with-format-error.out.yaml+1 −1 modified@@ -156,7 +156,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit-with-out-of-range-error.out.yaml+1 −1 modified@@ -157,7 +157,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-client-ip-detection.out.yaml+1 −1 modified@@ -259,7 +259,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-connection-limit-error.out.yaml+1 −1 modified@@ -158,7 +158,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-connection-limit.out.yaml+1 −1 modified@@ -158,7 +158,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-for-tcp-listeners.out.yaml+1 −1 modified@@ -181,7 +181,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-headers-error.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-headers.out.yaml+1 −1 modified@@ -138,7 +138,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-http10.out.yaml+1 −1 modified@@ -451,7 +451,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-http2.out.yaml+1 −1 modified@@ -160,7 +160,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-http3.out.yaml+1 −1 modified@@ -128,7 +128,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-http-health-check.out.yaml+1 −1 modified@@ -86,7 +86,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-idle-timeout.out.yaml+1 −1 modified@@ -125,7 +125,7 @@ infraIR: xdsIR: envoy-gateway/gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-idle-timeout-with-error.out.yaml+1 −1 modified@@ -87,7 +87,7 @@ infraIR: xdsIR: envoy-gateway/gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-invalid-settings.out.yaml+1 −1 modified@@ -383,7 +383,7 @@ tcpRoutes: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification.out.yaml+2 −2 modified@@ -229,7 +229,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -274,7 +274,7 @@ xdsIR: port: 8080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-mtls-forward-client-cert-custom-data.out.yaml+5 −5 modified@@ -541,7 +541,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -594,7 +594,7 @@ xdsIR: port: 8080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -629,7 +629,7 @@ xdsIR: requireClientCertificate: true envoy-gateway/gateway-3: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -666,7 +666,7 @@ xdsIR: requireClientCertificate: true envoy-gateway/gateway-4: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -705,7 +705,7 @@ xdsIR: requireClientCertificate: true envoy-gateway/gateway-5: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-mtls-forward-client-cert.out.yaml+5 −5 modified@@ -528,7 +528,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -581,7 +581,7 @@ xdsIR: port: 8080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -616,7 +616,7 @@ xdsIR: requireClientCertificate: true envoy-gateway/gateway-3: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -651,7 +651,7 @@ xdsIR: requireClientCertificate: true envoy-gateway/gateway-4: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -686,7 +686,7 @@ xdsIR: requireClientCertificate: true envoy-gateway/gateway-5: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-mtls.out.yaml+2 −2 modified@@ -228,7 +228,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -273,7 +273,7 @@ xdsIR: port: 8080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-path-settings.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-preserve-case-multiple-targets.out.yaml+2 −2 modified@@ -195,7 +195,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -217,7 +217,7 @@ xdsIR: port: 10080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-preserve-case.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-proxyprotocol.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-ratelimitheaders.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-status-conditions.out.yaml+4 −4 modified@@ -499,7 +499,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -518,7 +518,7 @@ xdsIR: port: 10080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -541,7 +541,7 @@ xdsIR: port: 10053 envoy-gateway/gateway-3: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -560,7 +560,7 @@ xdsIR: port: 10080 not-same-namespace/not-same-namespace-gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-tcp-keepalive.out.yaml+1 −1 modified@@ -158,7 +158,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-timeout.out.yaml+1 −1 modified@@ -125,7 +125,7 @@ infraIR: xdsIR: envoy-gateway/gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-timeout-with-error.out.yaml+1 −1 modified@@ -87,7 +87,7 @@ infraIR: xdsIR: envoy-gateway/gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-tls-settings.out.yaml+1 −1 modified@@ -144,7 +144,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-trailers.out.yaml+1 −1 modified@@ -122,7 +122,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/conflicting-policies.out.yaml+1 −1 modified@@ -262,7 +262,7 @@ securityPolicies: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/custom-filter-order.out.yaml+1 −1 modified@@ -217,7 +217,7 @@ securityPolicies: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout filterOrder: - before: envoy.filters.http.jwt_authn
internal/gatewayapi/testdata/envoyextensionpolicy-invalid-cross-ns-ref.out.yaml+1 −1 modified@@ -76,7 +76,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-override-replace.out.yaml+1 −1 modified@@ -265,7 +265,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-status-conditions.out.yaml+3 −3 modified@@ -518,7 +518,7 @@ infraIR: xdsIR: another-namespace/not-same-namespace-gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -537,7 +537,7 @@ xdsIR: port: 10080 envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -575,7 +575,7 @@ xdsIR: prefix: / envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-matching-port.out.yaml+1 −1 modified@@ -127,7 +127,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-port.out.yaml+1 −1 modified@@ -127,7 +127,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-reference-grant.out.yaml+1 −1 modified@@ -129,7 +129,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-service.out.yaml+1 −1 modified@@ -128,7 +128,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-backendtlspolicy.out.yaml+1 −1 modified@@ -277,7 +277,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-multiple-backendrefs.out.yaml+1 −1 modified@@ -277,7 +277,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-traffic-features.out.yaml+1 −1 modified@@ -306,7 +306,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm-env-vars.out.yaml+1 −1 modified@@ -236,7 +236,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm.out.yaml+1 −1 modified@@ -238,7 +238,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm-targetrefs.out.yaml+1 −1 modified@@ -204,7 +204,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoypatchpolicy-cross-ns-target.out.yaml+1 −1 modified@@ -58,7 +58,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoypatchpolicy-invalid-feature-disabled.out.yaml+1 −1 modified@@ -68,7 +68,7 @@ infraIR: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout envoyPatchPolicies: - name: edit-conn-buffer-bytes
internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind-merge-gateways.out.yaml+1 −1 modified@@ -68,7 +68,7 @@ infraIR: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout envoyPatchPolicies: - name: edit-conn-buffer-bytes
internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind.out.yaml+1 −1 modified@@ -58,7 +58,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout envoyPatchPolicies: - name: edit-conn-buffer-bytes
internal/gatewayapi/testdata/envoypatchpolicy-valid-merge-gateways.out.yaml+1 −1 modified@@ -68,7 +68,7 @@ infraIR: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout envoyPatchPolicies: - jsonPatches:
internal/gatewayapi/testdata/envoypatchpolicy-valid.out.yaml+1 −1 modified@@ -58,7 +58,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout envoyPatchPolicies: - jsonPatches:
internal/gatewayapi/testdata/envoyproxy-accesslog-types.out.yaml+5 −4 modified@@ -367,6 +367,11 @@ xdsIR: text: | this is a Global log type: TCP + json: + - logType: Route + path: /dev/stdout + - logType: Listener + path: /dev/stdout openTelemetry: - authority: otel-collector.monitoring.svc.cluster.local destination: @@ -410,10 +415,6 @@ xdsIR: text: | this is a Global log text: - - logType: Route - path: /dev/stdout - - logType: Listener - path: /dev/stdout - format: | this is a route log logType: Route
internal/gatewayapi/testdata/envoyproxy-accesslog-without-format.out.yaml+0 −2 modified@@ -191,8 +191,6 @@ xdsIR: weight: 1 resources: k8s.cluster.name: cluster-1 - text: - - path: /dev/stdout http: - address: 0.0.0.0 hostnames:
internal/gatewayapi/testdata/envoyproxy-endpoint-routing-for-gateway.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-endpoint-routing.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-metric-backend-invalid.out.yaml+1 −1 modified@@ -132,7 +132,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-metric-backend.out.yaml+1 −1 modified@@ -125,7 +125,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-metric-enabled-backend.out.yaml+1 −1 modified@@ -128,7 +128,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-priority-backend.out.yaml+1 −1 modified@@ -280,7 +280,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-service-routing-for-gateway.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-service-routing.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid-ns.out.yaml+1 −1 modified@@ -225,7 +225,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-tls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid.out.yaml+1 −1 modified@@ -224,7 +224,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-tls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-tls-settings.out.yaml+1 −1 modified@@ -223,7 +223,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-tls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-tracing-backend-invalid.out.yaml+1 −1 modified@@ -132,7 +132,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-tracing-backend.out.yaml+1 −1 modified@@ -152,7 +152,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-valid.out.yaml+1 −1 modified@@ -116,7 +116,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/extensionpolicy-tcp-listener.out.yaml+1 −1 modified@@ -143,7 +143,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/extensionpolicy-udp-listener.out.yaml+1 −1 modified@@ -143,7 +143,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/extensionpolicy-with-invalid-target.out.yaml+1 −1 modified@@ -94,7 +94,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/extensionpolicy-with-valid-target-array.out.yaml+2 −2 modified@@ -154,7 +154,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -215,7 +215,7 @@ xdsIR: port: 10081 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/extensionpolicy-with-valid-target.out.yaml+1 −1 modified@@ -147,7 +147,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/httproute-with-extension-filter-invalid-group.out.yaml+1 −1 modified@@ -106,7 +106,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/httproute-with-non-matching-extension-filter.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/httproute-with-unsupported-extension-filter.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/httproute-with-valid-extension-filter.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-allows-same-namespace-with-allowed-httproute.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-allows-same-namespace-with-disallowed-httproute.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-http-listener-with-hostname-intersection.out.yaml+1 −1 modified@@ -169,7 +169,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-infrastructure.out.yaml+1 −1 modified@@ -111,7 +111,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-addresses-with-ipaddress.out.yaml+1 −1 modified@@ -63,7 +63,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-infrastructure-parametersref.out.yaml+1 −1 modified@@ -120,7 +120,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-invalid-infrastructure-parametersref-does-not-exist.out.yaml+1 −1 modified@@ -103,7 +103,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-invalid-infrastructure-parametersref-fallback.out.yaml+1 −1 modified@@ -120,7 +120,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-namespaces-selector.out.yaml+1 −1 modified@@ -88,5 +88,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-routes-group.out.yaml+1 −1 modified@@ -79,5 +79,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-routes-kind-and-supported.out.yaml+1 −1 modified@@ -81,5 +81,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-routes-kind.out.yaml+1 −1 modified@@ -79,5 +79,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-tls-route-kind.out.yaml+1 −1 modified@@ -79,5 +79,5 @@ tlsRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-multiple-tls-configuration.out.yaml+1 −1 modified@@ -94,5 +94,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-invalid-mode.out.yaml+1 −1 modified@@ -87,5 +87,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-no-certificate-refs.out.yaml+1 −1 modified@@ -82,5 +82,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-no-valid-certificate-for-fqdn.out.yaml+1 −1 modified@@ -89,5 +89,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-secret-does-not-exist.out.yaml+1 −1 modified@@ -86,5 +86,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-secret-in-other-namespace.out.yaml+1 −1 modified@@ -88,5 +88,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-secret-is-not-valid.out.yaml+1 −1 modified@@ -86,5 +86,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-missing-allowed-namespaces-selector.out.yaml+1 −1 modified@@ -81,5 +81,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-mismatch-port-protocol.out.yaml+1 −1 modified@@ -88,7 +88,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-backends.out.yaml+1 −1 modified@@ -92,7 +92,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-rules.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-tcp-with-hostname.out.yaml+1 −1 modified@@ -44,5 +44,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-tls-secret-in-other-namespace-allowed-by-refgrant.out.yaml+1 −1 modified@@ -100,7 +100,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-tls-terminate-and-passthrough.out.yaml+1 −1 modified@@ -169,7 +169,7 @@ tlsRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-mismatch-port-protocol.out.yaml+1 −1 modified@@ -88,7 +88,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-backends.out.yaml+1 −1 modified@@ -92,7 +92,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-rules.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-udp-with-hostname.out.yaml+1 −1 modified@@ -44,5 +44,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-tcproute.out.yaml+1 −1 modified@@ -56,7 +56,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-udproute.out.yaml+1 −1 modified@@ -56,7 +56,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-unsupported-protocol.out.yaml+1 −1 modified@@ -81,5 +81,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration.out.yaml+1 −1 modified@@ -102,7 +102,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration-with-same-algorithm-different-fqdn.out.yaml+1 −1 modified@@ -102,7 +102,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-valid-tls-configuration.out.yaml+1 −1 modified@@ -99,7 +99,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-preexisting-status-condition.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-tcproutes.out.yaml+1 −1 modified@@ -119,7 +119,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-udproutes.out.yaml+1 −1 modified@@ -119,7 +119,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-stale-status-condition.out.yaml+1 −1 modified@@ -99,7 +99,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-tcp-or-tls-port.out.yaml+1 −1 modified@@ -112,7 +112,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-udp-port.out.yaml+1 −1 modified@@ -115,7 +115,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-http-and-tlsroute-same-hostname-and-port.out.yaml+1 −1 modified@@ -148,5 +148,5 @@ tlsRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-two-listeners-with-multiple-httproutes.out.yaml+1 −1 modified@@ -165,7 +165,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-and-hostname.out.yaml+1 −1 modified@@ -116,5 +116,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-and-incompatible-protocol.out.yaml+1 −1 modified@@ -116,5 +116,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-tcp-protocol.out.yaml+1 −1 modified@@ -160,7 +160,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-udp-protocol.out.yaml+1 −1 modified@@ -160,7 +160,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-without-sectionname.out.yaml+1 −1 modified@@ -153,7 +153,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-with-sectionname.out.yaml+1 −1 modified@@ -157,7 +157,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-without-sectionname.out.yaml+1 −1 modified@@ -153,7 +153,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-with-sectionname.out.yaml+1 −1 modified@@ -157,7 +157,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-backend.out.yaml+1 −1 modified@@ -120,7 +120,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-empty-backends.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-header-match.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-method-and-service-match.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-method-match.out.yaml+1 −1 modified@@ -99,7 +99,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-request-header-modifier.out.yaml+1 −1 modified@@ -103,7 +103,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-service-match.out.yaml+1 −1 modified@@ -99,7 +99,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-and-backendtrafficpolicy-with-timeout-error.out.yaml+1 −1 modified@@ -131,7 +131,7 @@ infraIR: xdsIR: envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-and-backendtrafficpolicy-with-timeout.out.yaml+2 −2 modified@@ -251,7 +251,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -294,7 +294,7 @@ xdsIR: connectTimeout: 15s envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-gateway.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-different-listeners.out.yaml+1 −1 modified@@ -353,7 +353,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-listeners.out.yaml+1 −1 modified@@ -304,7 +304,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners.out.yaml+1 −1 modified@@ -124,7 +124,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners-with-different-ports.out.yaml+1 −1 modified@@ -135,7 +135,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-matching-port.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-on-gateway-with-two-listeners.out.yaml+1 −1 modified@@ -126,7 +126,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener.out.yaml+1 −1 modified@@ -95,7 +95,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-and-core-backendrefs.out.yaml+1 −1 modified@@ -199,7 +199,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-backendref-mixed-address-type.out.yaml+1 −1 modified@@ -256,7 +256,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-backendref.out.yaml+1 −1 modified@@ -339,7 +339,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-backend-backendrefs-diff-address-type.out.yaml+1 −1 modified@@ -278,7 +278,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-backend-backendrefs-same-address-type.out.yaml+1 −1 modified@@ -287,7 +287,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-serviceimport-backendrefs-diff-address-type.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-serviceimport-backendrefs-same-address-type.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref-fqdn-address-type.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref-mixed-address-type.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-backend-request-timeout.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-not-attaching-to-listener-non-matching-port.out.yaml+1 −1 modified@@ -96,7 +96,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-request-timeout.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-rule-with-empty-backends-and-no-filters.out.yaml+1 −1 modified@@ -90,7 +90,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-no-weights.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-weights.out.yaml+1 −1 modified@@ -103,7 +103,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-rule-with-non-service-backends-and-app-protocols.out.yaml+1 −1 modified@@ -172,7 +172,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-rule-with-non-service-backends-and-weights.out.yaml+1 −1 modified@@ -170,7 +170,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproutes-with-multiple-matches.out.yaml+1 −1 modified@@ -280,7 +280,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-backendref-add-multiple-filters.out.yaml+1 −1 modified@@ -118,7 +118,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml+1 −1 modified@@ -95,7 +95,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-backendref-serviceimport-in-other-namespace-allowed-by-refgrant.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-direct-response.out.yaml+1 −1 modified@@ -150,7 +150,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-empty-matches.out.yaml+1 −1 modified@@ -92,7 +92,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-add-multiple-filters.out.yaml+1 −1 modified@@ -113,7 +113,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-adds.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-remove-multiple-filters.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-removes.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-empty-headers.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-empty-header-values.out.yaml+1 −1 modified@@ -107,7 +107,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-invalid-headers.out.yaml+1 −1 modified@@ -110,7 +110,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-no-headers.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-no-valid-headers.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-remove.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-bad-port.out.yaml+1 −1 modified@@ -94,7 +94,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backendref-in-other-namespace.out.yaml+1 −1 modified@@ -95,7 +95,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-group.out.yaml+1 −1 modified@@ -98,7 +98,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-kind.out.yaml+1 −1 modified@@ -96,7 +96,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-port.out.yaml+1 −1 modified@@ -94,7 +94,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.import.out.yaml+1 −1 modified@@ -96,7 +96,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.out.yaml+1 −1 modified@@ -94,7 +94,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-unsupported-filter.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-regex.out.yaml+2 −2 modified@@ -145,7 +145,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -164,7 +164,7 @@ xdsIR: port: 10080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-metadata.out.yaml+1 −1 modified@@ -95,7 +95,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-mirror-filter-duplicates.out.yaml+1 −1 modified@@ -111,7 +111,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-mirror-filter-multiple.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-mirror-filter.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-mirror-filter-service-no-port.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-mirror-filter-service-not-found.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-multi-gateways-notmatch.out.yaml+2 −2 modified@@ -113,7 +113,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -132,7 +132,7 @@ xdsIR: port: 10080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-multi-gateways-with-same-name.out.yaml+2 −2 modified@@ -146,7 +146,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -186,7 +186,7 @@ xdsIR: prefix: / envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-multiple-gateways-from-different-ns.out.yaml+2 −2 modified@@ -175,7 +175,7 @@ infraIR: xdsIR: default/gateway-a: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -212,7 +212,7 @@ xdsIR: prefix: /toy envoy-gateway/gateway-b: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-multiple-gateways-from-same-ns.out.yaml+2 −2 modified@@ -173,7 +173,7 @@ infraIR: xdsIR: envoy-gateway/gateway-a: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -210,7 +210,7 @@ xdsIR: prefix: /toy envoy-gateway/gateway-b: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-non-matching-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-full-path-replace-https.out.yaml+1 −1 modified@@ -103,7 +103,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-hostname.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-filter-type.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-scheme.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-status.out.yaml+1 −1 modified@@ -100,7 +100,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-prefix-replace-with-port-http.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-adds.out.yaml+1 −1 modified@@ -119,7 +119,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-add-multiple-filters.out.yaml+1 −1 modified@@ -113,7 +113,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-adds.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-remove-multiple-filters.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-removes.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-headers.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-header-values.out.yaml+1 −1 modified@@ -107,7 +107,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-invalid-headers.out.yaml+1 −1 modified@@ -110,7 +110,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-no-headers.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-no-valid-headers.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-remove.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-single-rule-with-exact-path-match.out.yaml+1 −1 modified@@ -94,7 +94,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-single-rule-with-http-method-match.out.yaml+1 −1 modified@@ -92,7 +92,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-single-rule-with-multiple-rules.out.yaml+1 −1 modified@@ -120,7 +120,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-single-rule-with-path-prefix-and-exact-header-matches.out.yaml+1 −1 modified@@ -98,7 +98,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-some-invalid-backend-refs-no-service.out.yaml+1 −1 modified@@ -98,7 +98,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml+1 −1 modified@@ -96,7 +96,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-two-specific-hostnames-attaching-to-gateway-with-wildcard-hostname.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-full-path-replace-http.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname.out.yaml+1 −1 modified@@ -102,7 +102,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname-prefix-replace.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-filter-type.out.yaml+1 −1 modified@@ -102,7 +102,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-hostname.out.yaml+1 −1 modified@@ -108,7 +108,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-multiple-filters.out.yaml+1 −1 modified@@ -110,7 +110,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path-type.out.yaml+1 −1 modified@@ -106,7 +106,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-missing-path.out.yaml+1 −1 modified@@ -103,7 +103,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-prefix-replace-http.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-regex-match-replace-http.out.yaml+1 −1 modified@@ -242,7 +242,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-regex-match-replace-invalid.out.yaml+1 −1 modified@@ -339,7 +339,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-hostname-filter-invalid.out.yaml+1 −1 modified@@ -345,7 +345,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-hostname-filter.out.yaml+1 −1 modified@@ -246,7 +246,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-wildcard-hostname-attaching-to-gateway-with-unset-hostname.out.yaml+1 −1 modified@@ -95,7 +95,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/merge-invalid-multiple-gateways.out.yaml+1 −1 modified@@ -133,7 +133,7 @@ infraIR: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/merge-valid-multiple-gateways-multiple-listeners-same-ports.out.yaml+1 −1 modified@@ -169,7 +169,7 @@ infraIR: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/merge-valid-multiple-gateways-multiple-routes.out.yaml+1 −1 modified@@ -220,7 +220,7 @@ infraIR: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/merge-valid-multiple-gateways.out.yaml+1 −1 modified@@ -142,7 +142,7 @@ infraIR: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/merge-with-isolated-policies-2.out.yaml+1 −1 modified@@ -498,7 +498,7 @@ securityPolicies: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/merge-with-isolated-policies.out.yaml+1 −1 modified@@ -290,7 +290,7 @@ securityPolicies: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
8f48f5199cf1Merge commit from fork
300 files changed · +1548 −481
internal/cmd/egctl/testdata/translate/out/default-resources.all.yaml+250 −30 modified@@ -949,9 +949,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -967,9 +989,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -1008,9 +1052,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -1026,9 +1092,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -1075,9 +1163,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -1093,9 +1203,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tcproute/default/backend/rule/-1 statPrefix: tcp-1234 @@ -1114,9 +1246,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -1135,9 +1289,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tlsroute/default/backend/rule/-1 statPrefix: tls-passthrough-8443 @@ -1160,9 +1336,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -1178,9 +1376,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout matcher: onNoMatch:
internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.all.json+250 −20 modified@@ -690,8 +690,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -716,8 +739,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -781,8 +827,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -807,8 +876,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -886,8 +978,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -913,8 +1028,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -951,8 +1089,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -983,8 +1144,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -1029,8 +1213,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -1055,8 +1262,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout"
internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.all.yaml+250 −30 modified@@ -396,9 +396,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -414,9 +436,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -455,9 +499,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -473,9 +539,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -522,9 +610,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -540,9 +650,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tcproute/default/backend/rule/-1 statPrefix: tcp-1234 @@ -561,9 +693,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -582,9 +736,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tlsroute/default/backend/rule/-1 statPrefix: tls-passthrough-8443 @@ -607,9 +783,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -625,9 +823,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout matcher: onNoMatch:
internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.listener.yaml+250 −30 modified@@ -53,9 +53,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -71,9 +93,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -112,9 +156,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -130,9 +196,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -179,9 +267,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -197,9 +307,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tcproute/default/backend/rule/-1 statPrefix: tcp-1234 @@ -218,9 +350,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -239,9 +393,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tlsroute/default/backend/rule/-1 statPrefix: tls-passthrough-8443 @@ -264,9 +440,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -282,9 +480,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout matcher: onNoMatch:
internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.json+50 −4 modified@@ -516,8 +516,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -542,8 +565,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout"
internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.yaml+50 −6 modified@@ -294,9 +294,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -312,9 +334,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST
internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.listener.yaml+50 −6 modified@@ -53,9 +53,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -71,9 +93,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST
internal/cmd/egctl/testdata/translate/out/no-service-cluster-ip.all.yaml+50 −6 modified@@ -257,9 +257,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -275,9 +297,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST
internal/cmd/egctl/testdata/translate/out/quickstart.all.yaml+1 −1 modified@@ -99,7 +99,7 @@ infraIR: xdsIR: envoy-gateway-system/eg: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/listener.go+6 −6 modified@@ -269,7 +269,7 @@ func (t *Translator) processAccessLog(envoyproxy *egv1a1.EnvoyProxy, resources * (!envoyproxy.Spec.Telemetry.AccessLog.Disable && len(envoyproxy.Spec.Telemetry.AccessLog.Settings) == 0) { // use the default access log return &ir.AccessLog{ - Text: []*ir.TextAccessLog{ + JSON: []*ir.JSONAccessLog{ { Path: "/dev/stdout", }, @@ -298,8 +298,8 @@ func (t *Translator) processAccessLog(envoyproxy *egv1a1.EnvoyProxy, resources * format = *accessLog.Format } else { format = egv1a1.ProxyAccessLogFormat{ - Type: egv1a1.ProxyAccessLogFormatTypeText, - // Empty text format means default format + Type: egv1a1.ProxyAccessLogFormatTypeJSON, + // Empty means default format } } @@ -319,13 +319,13 @@ func (t *Translator) processAccessLog(envoyproxy *egv1a1.EnvoyProxy, resources * } if len(accessLog.Sinks) == 0 { - al := &ir.TextAccessLog{ - Format: format.Text, + al := &ir.JSONAccessLog{ + JSON: format.JSON, CELMatches: validExprs, LogType: accessLogType, Path: "/dev/stdout", } - irAccessLog.Text = append(irAccessLog.Text, al) + irAccessLog.JSON = append(irAccessLog.JSON, al) } for j, sink := range accessLog.Sinks {
internal/gatewayapi/testdata/backend-invalid-feature-disabled.out.yaml+1 −1 modified@@ -150,7 +150,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-across-ns.out.yaml+1 −1 modified@@ -118,7 +118,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-ca-only.out.yaml+1 −1 modified@@ -129,7 +129,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-ca-only-secret.out.yaml+1 −1 modified@@ -129,7 +129,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-default-ns.out.yaml+1 −1 modified@@ -224,7 +224,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-default-ns-targetrefs.out.yaml+2 −2 modified@@ -263,7 +263,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -328,7 +328,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-btls2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-invalid-ca.out.yaml+1 −1 modified@@ -129,7 +129,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-multiple-targets.out.yaml+1 −1 modified@@ -171,7 +171,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-system-truststore.out.yaml+1 −1 modified@@ -126,7 +126,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit-out-of-range-error.out.yaml+2 −2 modified@@ -246,7 +246,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -295,7 +295,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit.out.yaml+2 −2 modified@@ -246,7 +246,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -295,7 +295,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit-with-invalid-value.out.yaml+2 −2 modified@@ -246,7 +246,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -295,7 +295,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-compression.out.yaml+1 −1 modified@@ -127,7 +127,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-override-replace.out.yaml+1 −1 modified@@ -269,7 +269,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-status-conditions.out.yaml+3 −3 modified@@ -518,7 +518,7 @@ infraIR: xdsIR: another-namespace/not-same-namespace-gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -542,7 +542,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -581,7 +581,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-status-fault-injection.out.yaml+2 −2 modified@@ -326,7 +326,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -376,7 +376,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-use-client-protocol.out.yaml+1 −1 modified@@ -124,7 +124,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-circuitbreakers-error.out.yaml+2 −2 modified@@ -308,7 +308,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -352,7 +352,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-circuitbreakers.out.yaml+2 −2 modified@@ -250,7 +250,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -299,7 +299,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-dns-settings.out.yaml+2 −2 modified@@ -315,7 +315,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -365,7 +365,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-healthcheck.out.yaml+2 −2 modified@@ -675,7 +675,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -792,7 +792,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-http2.out.yaml+2 −2 modified@@ -248,7 +248,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -296,7 +296,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-httproute-timeout.out.yaml+1 −1 modified@@ -205,7 +205,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-loadbalancer-invalid-consistent-hash-table-size.out.yaml+1 −1 modified@@ -198,7 +198,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-loadbalancer.out.yaml+2 −2 modified@@ -418,7 +418,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -463,7 +463,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-default-route-level-limit.out.yaml+1 −1 modified@@ -147,7 +147,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-limit-unit.out.yaml+1 −1 modified@@ -151,7 +151,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-match-type.out.yaml+1 −1 modified@@ -147,7 +147,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-multiple-route-level-limits.out.yaml+1 −1 modified@@ -154,7 +154,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit.out.yaml+1 −1 modified@@ -150,7 +150,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-panic-threshold.out.yaml+2 −2 modified@@ -312,7 +312,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -361,7 +361,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-proxyprotocol.out.yaml+2 −2 modified@@ -242,7 +242,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -287,7 +287,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit-invalid-distinct-invert.out.yaml+1 −1 modified@@ -131,7 +131,7 @@ infraIR: xdsIR: envoy-gateway/gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit-invalid-regex.out.yaml+1 −1 modified@@ -133,7 +133,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit.out.yaml+2 −2 modified@@ -274,7 +274,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -333,7 +333,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-response-override-invalid-valueref.out.yaml+2 −2 modified@@ -291,7 +291,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -335,7 +335,7 @@ xdsIR: port: 19003 default/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-response-override.out.yaml+2 −2 modified@@ -361,7 +361,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -427,7 +427,7 @@ xdsIR: port: 19003 default/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-retries.out.yaml+2 −2 modified@@ -398,7 +398,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -450,7 +450,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-same-prefix-httproutes.out.yaml+1 −1 modified@@ -166,7 +166,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-tcpkeepalive.out.yaml+2 −2 modified@@ -246,7 +246,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -293,7 +293,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-gateway.out.yaml+1 −1 modified@@ -230,7 +230,7 @@ udpRoutes: xdsIR: default/tcp-gateway: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-route.out.yaml+1 −1 modified@@ -303,7 +303,7 @@ udpRoutes: xdsIR: default/tcp-gateway: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout-error.out.yaml+1 −1 modified@@ -124,7 +124,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout.out.yaml+2 −2 modified@@ -254,7 +254,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -304,7 +304,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout-targetrefs.out.yaml+2 −2 modified@@ -234,7 +234,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -275,7 +275,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backend-with-fallback.out.yaml+1 −1 modified@@ -135,7 +135,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit.out.yaml+1 −1 modified@@ -156,7 +156,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit-with-format-error.out.yaml+1 −1 modified@@ -156,7 +156,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit-with-out-of-range-error.out.yaml+1 −1 modified@@ -157,7 +157,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-client-ip-detection.out.yaml+1 −1 modified@@ -259,7 +259,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-connection-limit-error.out.yaml+1 −1 modified@@ -158,7 +158,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-connection-limit.out.yaml+1 −1 modified@@ -158,7 +158,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-for-tcp-listeners.out.yaml+1 −1 modified@@ -181,7 +181,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-headers-error.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-headers.out.yaml+1 −1 modified@@ -138,7 +138,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-http10.out.yaml+1 −1 modified@@ -451,7 +451,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-http2.out.yaml+1 −1 modified@@ -160,7 +160,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-http3.out.yaml+1 −1 modified@@ -128,7 +128,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-http-health-check.out.yaml+1 −1 modified@@ -86,7 +86,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-idle-timeout.out.yaml+1 −1 modified@@ -125,7 +125,7 @@ infraIR: xdsIR: envoy-gateway/gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-idle-timeout-with-error.out.yaml+1 −1 modified@@ -87,7 +87,7 @@ infraIR: xdsIR: envoy-gateway/gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-invalid-settings.out.yaml+1 −1 modified@@ -383,7 +383,7 @@ tcpRoutes: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification.out.yaml+2 −2 modified@@ -229,7 +229,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -279,7 +279,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-mtls-forward-client-cert-custom-data.out.yaml+5 −5 modified@@ -541,7 +541,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -599,7 +599,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -639,7 +639,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-3: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -681,7 +681,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-4: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -725,7 +725,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-5: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-mtls-forward-client-cert.out.yaml+5 −5 modified@@ -528,7 +528,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -586,7 +586,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -626,7 +626,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-3: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -666,7 +666,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-4: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -706,7 +706,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-5: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-mtls.out.yaml+2 −2 modified@@ -228,7 +228,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -278,7 +278,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-path-settings.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-preserve-case-multiple-targets.out.yaml+2 −2 modified@@ -195,7 +195,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -222,7 +222,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-preserve-case.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-proxyprotocol.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-ratelimitheaders.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-status-conditions.out.yaml+4 −4 modified@@ -499,7 +499,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -523,7 +523,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -551,7 +551,7 @@ xdsIR: port: 10053 envoy-gateway/gateway-3: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -575,7 +575,7 @@ xdsIR: port: 19003 not-same-namespace/not-same-namespace-gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-tcp-keepalive.out.yaml+1 −1 modified@@ -158,7 +158,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-timeout.out.yaml+1 −1 modified@@ -125,7 +125,7 @@ infraIR: xdsIR: envoy-gateway/gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-timeout-with-error.out.yaml+1 −1 modified@@ -87,7 +87,7 @@ infraIR: xdsIR: envoy-gateway/gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-tls-settings.out.yaml+3 −3 modified@@ -319,7 +319,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -376,7 +376,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -408,7 +408,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-3: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-trailers.out.yaml+1 −1 modified@@ -122,7 +122,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/conflicting-policies.out.yaml+1 −1 modified@@ -262,7 +262,7 @@ securityPolicies: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/custom-filter-order.out.yaml+1 −1 modified@@ -217,7 +217,7 @@ securityPolicies: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout filterOrder: - before: envoy.filters.http.jwt_authn
internal/gatewayapi/testdata/envoyextensionpolicy-invalid-cross-ns-ref.out.yaml+1 −1 modified@@ -76,7 +76,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-override-replace.out.yaml+1 −1 modified@@ -265,7 +265,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-status-conditions.out.yaml+3 −3 modified@@ -518,7 +518,7 @@ infraIR: xdsIR: another-namespace/not-same-namespace-gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -542,7 +542,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -581,7 +581,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-matching-port.out.yaml+1 −1 modified@@ -127,7 +127,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-port.out.yaml+1 −1 modified@@ -127,7 +127,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-reference-grant.out.yaml+1 −1 modified@@ -129,7 +129,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-service.out.yaml+1 −1 modified@@ -128,7 +128,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-backendtlspolicy.out.yaml+1 −1 modified@@ -288,7 +288,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-multiple-backendrefs.out.yaml+1 −1 modified@@ -277,7 +277,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-traffic-features.out.yaml+1 −1 modified@@ -306,7 +306,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-invalid-lua.out.yaml+1 −1 modified@@ -204,7 +204,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-lua-configmap.out.yaml+1 −1 modified@@ -385,7 +385,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-lua.out.yaml+1 −1 modified@@ -201,7 +201,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm-env-vars.out.yaml+1 −1 modified@@ -236,7 +236,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm.out.yaml+1 −1 modified@@ -238,7 +238,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm-targetrefs.out.yaml+1 −1 modified@@ -204,7 +204,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoypatchpolicy-cross-ns-target.out.yaml+1 −1 modified@@ -58,7 +58,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoypatchpolicy-invalid-feature-disabled.out.yaml+1 −1 modified@@ -68,7 +68,7 @@ infraIR: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout envoyPatchPolicies: - name: edit-conn-buffer-bytes
internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind-merge-gateways.out.yaml+1 −1 modified@@ -68,7 +68,7 @@ infraIR: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout envoyPatchPolicies: - name: edit-conn-buffer-bytes
internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind.out.yaml+1 −1 modified@@ -58,7 +58,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout envoyPatchPolicies: - name: edit-conn-buffer-bytes
internal/gatewayapi/testdata/envoypatchpolicy-valid-merge-gateways.out.yaml+1 −1 modified@@ -68,7 +68,7 @@ infraIR: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout envoyPatchPolicies: - jsonPatches:
internal/gatewayapi/testdata/envoypatchpolicy-valid.out.yaml+1 −1 modified@@ -58,7 +58,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout envoyPatchPolicies: - jsonPatches:
internal/gatewayapi/testdata/envoyproxy-accesslog-types.out.yaml+5 −4 modified@@ -373,6 +373,11 @@ xdsIR: text: | this is a Global log type: TCP + json: + - logType: Route + path: /dev/stdout + - logType: Listener + path: /dev/stdout openTelemetry: - authority: otel-collector.monitoring.svc.cluster.local destination: @@ -419,10 +424,6 @@ xdsIR: text: | this is a Global log text: - - logType: Route - path: /dev/stdout - - logType: Listener - path: /dev/stdout - format: | this is a route log logType: Route
internal/gatewayapi/testdata/envoyproxy-accesslog-without-format.out.yaml+0 −2 modified@@ -194,8 +194,6 @@ xdsIR: weight: 1 resources: k8s.cluster.name: cluster-1 - text: - - path: /dev/stdout http: - address: 0.0.0.0 hostnames:
internal/gatewayapi/testdata/envoyproxy-endpoint-routing-for-gateway.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-endpoint-routing.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-metric-backend-invalid.out.yaml+1 −1 modified@@ -132,7 +132,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-metric-backend.out.yaml+1 −1 modified@@ -125,7 +125,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-metric-enabled-backend.out.yaml+1 −1 modified@@ -128,7 +128,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-preserve-route-order.out.yaml+1 −1 modified@@ -154,7 +154,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-priority-backend.out.yaml+1 −1 modified@@ -280,7 +280,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-service-routing-for-gateway.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-service-routing.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid-ns.out.yaml+1 −1 modified@@ -227,7 +227,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-tls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid.out.yaml+1 −1 modified@@ -225,7 +225,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-tls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-tls-settings.out.yaml+1 −1 modified@@ -223,7 +223,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-tls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-tracing-backend-invalid.out.yaml+1 −1 modified@@ -132,7 +132,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-tracing-backend.out.yaml+1 −1 modified@@ -152,7 +152,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-valid.out.yaml+1 −1 modified@@ -116,7 +116,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/extensionpolicy-tcp-listener.out.yaml+1 −1 modified@@ -143,7 +143,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/extensions/extensionpolicy-udp-listener.out.yaml+1 −1 modified@@ -143,7 +143,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/extensions/extensionpolicy-with-invalid-target.out.yaml+1 −1 modified@@ -94,7 +94,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/extensionpolicy-with-valid-target-array.out.yaml+2 −2 modified@@ -154,7 +154,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -220,7 +220,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/extensionpolicy-with-valid-target.out.yaml+1 −1 modified@@ -147,7 +147,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/httproute-with-extension-filter-invalid-group.out.yaml+1 −1 modified@@ -106,7 +106,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/httproute-with-non-matching-extension-filter.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/httproute-with-unsupported-extension-filter.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/httproute-with-valid-extension-filter.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-allows-same-namespace-with-allowed-httproute.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-allows-same-namespace-with-disallowed-httproute.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-http-listener-with-hostname-intersection.out.yaml+1 −1 modified@@ -169,7 +169,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-infrastructure.out.yaml+1 −1 modified@@ -111,7 +111,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-addresses-with-ipaddress.out.yaml+1 −1 modified@@ -63,7 +63,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-infrastructure-parametersref.out.yaml+1 −1 modified@@ -120,7 +120,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-invalid-infrastructure-parametersref-does-not-exist.out.yaml+1 −1 modified@@ -103,7 +103,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-invalid-infrastructure-parametersref-fallback.out.yaml+1 −1 modified@@ -120,7 +120,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-namespaces-selector.out.yaml+1 −1 modified@@ -88,7 +88,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-routes-group.out.yaml+1 −1 modified@@ -79,7 +79,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-routes-kind-and-supported.out.yaml+1 −1 modified@@ -81,7 +81,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-routes-kind.out.yaml+1 −1 modified@@ -79,7 +79,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-tls-route-kind.out.yaml+1 −1 modified@@ -79,7 +79,7 @@ tlsRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-multiple-tls-configuration.out.yaml+1 −1 modified@@ -94,7 +94,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-invalid-mode.out.yaml+1 −1 modified@@ -87,7 +87,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-no-certificate-refs.out.yaml+1 −1 modified@@ -82,7 +82,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-no-valid-certificate-for-fqdn.out.yaml+1 −1 modified@@ -89,7 +89,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-secret-does-not-exist.out.yaml+1 −1 modified@@ -86,7 +86,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-secret-in-other-namespace.out.yaml+1 −1 modified@@ -88,7 +88,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-secret-is-not-valid.out.yaml+1 −1 modified@@ -86,7 +86,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-missing-allowed-namespaces-selector.out.yaml+1 −1 modified@@ -81,7 +81,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-mismatch-port-protocol.out.yaml+1 −1 modified@@ -89,7 +89,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-backends.out.yaml+1 −1 modified@@ -92,7 +92,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-rules.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-tcp-with-hostname.out.yaml+1 −1 modified@@ -44,7 +44,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-tls-secret-in-other-namespace-allowed-by-refgrant.out.yaml+1 −1 modified@@ -100,7 +100,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-tls-terminate-and-passthrough.out.yaml+1 −1 modified@@ -169,7 +169,7 @@ tlsRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-mismatch-port-protocol.out.yaml+1 −1 modified@@ -89,7 +89,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-backends.out.yaml+1 −1 modified@@ -92,7 +92,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-rules.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-udp-with-hostname.out.yaml+1 −1 modified@@ -44,7 +44,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-tcproute.out.yaml+1 −1 modified@@ -56,7 +56,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-udproute.out.yaml+1 −1 modified@@ -56,7 +56,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-unsupported-protocol.out.yaml+1 −1 modified@@ -81,7 +81,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration.out.yaml+1 −1 modified@@ -102,7 +102,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration-with-same-algorithm-different-fqdn.out.yaml+1 −1 modified@@ -102,7 +102,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-valid-tls-configuration.out.yaml+1 −1 modified@@ -99,7 +99,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-preexisting-status-condition.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-tcproutes.out.yaml+1 −1 modified@@ -119,7 +119,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-udproutes.out.yaml+1 −1 modified@@ -119,7 +119,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-stale-status-condition.out.yaml+1 −1 modified@@ -99,7 +99,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-tcp-or-tls-port.out.yaml+1 −1 modified@@ -112,7 +112,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-udp-port.out.yaml+1 −1 modified@@ -115,7 +115,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-http-and-tlsroute-same-hostname-and-port.out.yaml+1 −1 modified@@ -148,7 +148,7 @@ tlsRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-multiple-httproutes.out.yaml+1 −1 modified@@ -165,7 +165,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-and-hostname.out.yaml+1 −1 modified@@ -116,7 +116,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-and-incompatible-protocol.out.yaml+1 −1 modified@@ -116,7 +116,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-tcp-protocol.out.yaml+1 −1 modified@@ -160,7 +160,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-udp-protocol.out.yaml+1 −1 modified@@ -160,7 +160,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-without-sectionname.out.yaml+1 −1 modified@@ -153,7 +153,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-with-sectionname.out.yaml+1 −1 modified@@ -157,7 +157,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-without-sectionname.out.yaml+1 −1 modified@@ -153,7 +153,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-with-sectionname.out.yaml+1 −1 modified@@ -157,7 +157,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout readyListener: address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-backend.out.yaml+1 −1 modified@@ -120,7 +120,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-empty-backends.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-header-match.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-method-and-service-match.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-method-match.out.yaml+1 −1 modified@@ -99,7 +99,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-request-header-modifier.out.yaml+1 −1 modified@@ -103,7 +103,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-service-match.out.yaml+1 −1 modified@@ -99,7 +99,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-and-backendtrafficpolicy-with-timeout-error.out.yaml+1 −1 modified@@ -131,7 +131,7 @@ infraIR: xdsIR: envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-and-backendtrafficpolicy-with-timeout.out.yaml+2 −2 modified@@ -251,7 +251,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -300,7 +300,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-gateway.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-different-listeners.out.yaml+1 −1 modified@@ -353,7 +353,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-listeners.out.yaml+1 −1 modified@@ -304,7 +304,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners.out.yaml+1 −1 modified@@ -124,7 +124,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners-with-different-ports.out.yaml+1 −1 modified@@ -135,7 +135,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-matching-port.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-on-gateway-with-two-listeners.out.yaml+1 −1 modified@@ -126,7 +126,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener.out.yaml+1 −1 modified@@ -95,7 +95,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-and-core-backendrefs.out.yaml+1 −1 modified@@ -199,7 +199,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-backendref-mixed-address-type.out.yaml+1 −1 modified@@ -256,7 +256,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-backendref.out.yaml+1 −1 modified@@ -339,7 +339,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-backend-backendrefs-diff-address-type.out.yaml+1 −1 modified@@ -278,7 +278,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-backend-backendrefs-same-address-type.out.yaml+1 −1 modified@@ -287,7 +287,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-serviceimport-backendrefs-diff-address-type.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-serviceimport-backendrefs-same-address-type.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref-fqdn-address-type.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref-mixed-address-type.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-backend-request-timeout.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-not-attaching-to-listener-non-matching-port.out.yaml+1 −1 modified@@ -96,7 +96,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-request-timeout.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-retry.out.yaml+2 −2 modified@@ -234,7 +234,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -258,7 +258,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-rule-with-empty-backends-and-no-filters.out.yaml+1 −1 modified@@ -90,7 +90,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-no-weights.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-weights.out.yaml+1 −1 modified@@ -103,7 +103,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-rule-with-non-service-backends-and-app-protocols.out.yaml+1 −1 modified@@ -172,7 +172,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-rule-with-non-service-backends-and-weights.out.yaml+1 −1 modified@@ -170,7 +170,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-backendref-add-multiple-filters.out.yaml+1 −1 modified@@ -118,7 +118,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml+1 −1 modified@@ -95,7 +95,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-backendref-serviceimport-in-other-namespace-allowed-by-refgrant.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-direct-response.out.yaml+1 −1 modified@@ -150,7 +150,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-empty-matches.out.yaml+1 −1 modified@@ -92,7 +92,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-add-multiple-filters.out.yaml+1 −1 modified@@ -113,7 +113,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-adds.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-remove-multiple-filters.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-removes.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-empty-headers.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-empty-header-values.out.yaml+1 −1 modified@@ -107,7 +107,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-invalid-headers.out.yaml+1 −1 modified@@ -110,7 +110,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-no-headers.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-no-valid-headers.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-remove.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-bad-port.out.yaml+1 −1 modified@@ -94,7 +94,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backendref-in-other-namespace.out.yaml+1 −1 modified@@ -95,7 +95,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-group.out.yaml+1 −1 modified@@ -98,7 +98,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-kind.out.yaml+1 −1 modified@@ -96,7 +96,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-port.out.yaml+1 −1 modified@@ -94,7 +94,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.import.out.yaml+1 −1 modified@@ -96,7 +96,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.out.yaml+1 −1 modified@@ -94,7 +94,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-unsupported-filter.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-regex.out.yaml+2 −2 modified@@ -145,7 +145,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -169,7 +169,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-metadata.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-mirror-filter-duplicates.out.yaml+1 −1 modified@@ -111,7 +111,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-mirror-filter-multiple.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-mirror-filter.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-mirror-filter-percentage-mirroring.out.yaml+1 −1 modified@@ -115,7 +115,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-mirror-filter-service-no-port.out.yaml+1 −1 modified@@ -106,7 +106,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-mirror-filter-service-not-found.out.yaml+1 −1 modified@@ -106,7 +106,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-multi-gateways-notmatch.out.yaml+2 −2 modified@@ -113,7 +113,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -137,7 +137,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-multi-gateways-with-same-name.out.yaml+2 −2 modified@@ -146,7 +146,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -192,7 +192,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-multiple-gateways-from-different-ns.out.yaml+2 −2 modified@@ -175,7 +175,7 @@ infraIR: xdsIR: default/gateway-a: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -217,7 +217,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-b: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-multiple-gateways-from-same-ns.out.yaml+2 −2 modified@@ -173,7 +173,7 @@ infraIR: xdsIR: envoy-gateway/gateway-a: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -215,7 +215,7 @@ xdsIR: port: 19003 envoy-gateway/gateway-b: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-non-matching-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-full-path-replace-https.out.yaml+1 −1 modified@@ -103,7 +103,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-hostname.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-filter-type.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-scheme.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-status.out.yaml+1 −1 modified@@ -100,7 +100,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-prefix-replace-with-port-http.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-adds.out.yaml+1 −1 modified@@ -119,7 +119,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-add-multiple-filters.out.yaml+1 −1 modified@@ -113,7 +113,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-adds.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-remove-multiple-filters.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-removes.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-headers.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-header-values.out.yaml+1 −1 modified@@ -107,7 +107,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-invalid-headers.out.yaml+1 −1 modified@@ -110,7 +110,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-no-headers.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-no-valid-headers.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-remove.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-single-rule-with-exact-path-match.out.yaml+1 −1 modified@@ -94,7 +94,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-single-rule-with-http-method-match.out.yaml+1 −1 modified@@ -92,7 +92,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-single-rule-with-multiple-rules.out.yaml+1 −1 modified@@ -120,7 +120,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-single-rule-with-path-prefix-and-exact-header-matches.out.yaml+1 −1 modified@@ -98,7 +98,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-some-invalid-backend-refs-no-service.out.yaml+1 −1 modified@@ -98,7 +98,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml+1 −1 modified@@ -96,7 +96,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-two-specific-hostnames-attaching-to-gateway-with-wildcard-hostname.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-full-path-replace-http.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname.out.yaml+1 −1 modified@@ -102,7 +102,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname-prefix-replace.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-filter-type.out.yaml+1 −1 modified@@ -102,7 +102,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-hostname.out.yaml+1 −1 modified@@ -108,7 +108,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-multiple-filters.out.yaml+1 −1 modified@@ -110,7 +110,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path-type.out.yaml+1 −1 modified@@ -106,7 +106,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-missing-path.out.yaml+1 −1 modified@@ -103,7 +103,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-prefix-replace-http.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-regex-match-replace-http.out.yaml+1 −1 modified@@ -242,7 +242,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-regex-match-replace-invalid.out.yaml+1 −1 modified@@ -339,7 +339,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-hostname-filter-invalid.out.yaml+1 −1 modified@@ -345,7 +345,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-hostname-filter.out.yaml+1 −1 modified@@ -246,7 +246,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
358bed50dcb7Merge commit from fork
300 files changed · +1547 −480
internal/cmd/egctl/testdata/translate/out/default-resources.all.yaml+250 −30 modified@@ -888,9 +888,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -906,9 +928,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -947,9 +991,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -965,9 +1031,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -1014,9 +1102,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -1032,9 +1142,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tcproute/default/backend/rule/-1 statPrefix: tcp-1234 @@ -1053,9 +1185,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -1074,9 +1228,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tlsroute/default/backend/rule/-1 statPrefix: tls-passthrough-8443 @@ -1099,9 +1275,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -1117,9 +1315,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout matcher: onNoMatch:
internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.all.json+250 −20 modified@@ -629,8 +629,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -655,8 +678,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -720,8 +766,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -746,8 +815,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -825,8 +917,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -852,8 +967,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -890,8 +1028,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -922,8 +1083,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -968,8 +1152,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -994,8 +1201,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout"
internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.all.yaml+250 −30 modified@@ -363,9 +363,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -381,9 +403,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -422,9 +466,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -440,9 +506,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -489,9 +577,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -507,9 +617,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tcproute/default/backend/rule/-1 statPrefix: tcp-1234 @@ -528,9 +660,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -549,9 +703,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tlsroute/default/backend/rule/-1 statPrefix: tls-passthrough-8443 @@ -574,9 +750,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -592,9 +790,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout matcher: onNoMatch:
internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.listener.yaml+250 −30 modified@@ -14,9 +14,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -32,9 +54,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -73,9 +117,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -91,9 +157,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST @@ -140,9 +228,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -158,9 +268,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tcproute/default/backend/rule/-1 statPrefix: tcp-1234 @@ -179,9 +311,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -200,9 +354,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout cluster: tlsroute/default/backend/rule/-1 statPrefix: tls-passthrough-8443 @@ -225,9 +401,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -243,9 +441,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout matcher: onNoMatch:
internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.json+50 −4 modified@@ -455,8 +455,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout" @@ -481,8 +504,31 @@ "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "logFormat": { - "textFormatSource": { - "inlineString": "{\"start_time\":\"%START_TIME%\",\"method\":\"%REQ(:METHOD)%\",\"x-envoy-origin-path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"response_code_details\":\"%RESPONSE_CODE_DETAILS%\",\"connection_termination_details\":\"%CONNECTION_TERMINATION_DETAILS%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"duration\":\"%DURATION%\",\"x-envoy-upstream-service-time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"x-forwarded-for\":\"%REQ(X-FORWARDED-FOR)%\",\"user-agent\":\"%REQ(USER-AGENT)%\",\"x-request-id\":\"%REQ(X-REQUEST-ID)%\",\":authority\":\"%REQ(:AUTHORITY)%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"route_name\":\"%ROUTE_NAME%\"}\n" + "jsonFormat": { + ":authority": "%REQ(:AUTHORITY)%", + "bytes_received": "%BYTES_RECEIVED%", + "bytes_sent": "%BYTES_SENT%", + "connection_termination_details": "%CONNECTION_TERMINATION_DETAILS%", + "downstream_local_address": "%DOWNSTREAM_LOCAL_ADDRESS%", + "downstream_remote_address": "%DOWNSTREAM_REMOTE_ADDRESS%", + "duration": "%DURATION%", + "method": "%REQ(:METHOD)%", + "protocol": "%PROTOCOL%", + "requested_server_name": "%REQUESTED_SERVER_NAME%", + "response_code": "%RESPONSE_CODE%", + "response_code_details": "%RESPONSE_CODE_DETAILS%", + "response_flags": "%RESPONSE_FLAGS%", + "route_name": "%ROUTE_NAME%", + "start_time": "%START_TIME%", + "upstream_cluster": "%UPSTREAM_CLUSTER%", + "upstream_host": "%UPSTREAM_HOST%", + "upstream_local_address": "%UPSTREAM_LOCAL_ADDRESS%", + "upstream_transport_failure_reason": "%UPSTREAM_TRANSPORT_FAILURE_REASON%", + "user-agent": "%REQ(USER-AGENT)%", + "x-envoy-origin-path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%", + "x-envoy-upstream-service-time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%", + "x-forwarded-for": "%REQ(X-FORWARDED-FOR)%", + "x-request-id": "%REQ(X-REQUEST-ID)%" } }, "path": "/dev/stdout"
internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.yaml+50 −6 modified@@ -261,9 +261,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -279,9 +301,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST
internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.listener.yaml+50 −6 modified@@ -14,9 +14,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -32,9 +54,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST
internal/cmd/egctl/testdata/translate/out/no-service-cluster-ip.all.yaml+50 −6 modified@@ -224,9 +224,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout address: socketAddress: @@ -242,9 +264,31 @@ xds: typedConfig: '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog logFormat: - textFormatSource: - inlineString: | - {"start_time":"%START_TIME%","method":"%REQ(:METHOD)%","x-envoy-origin-path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","response_code_details":"%RESPONSE_CODE_DETAILS%","connection_termination_details":"%CONNECTION_TERMINATION_DETAILS%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","duration":"%DURATION%","x-envoy-upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded-for":"%REQ(X-FORWARDED-FOR)%","user-agent":"%REQ(USER-AGENT)%","x-request-id":"%REQ(X-REQUEST-ID)%",":authority":"%REQ(:AUTHORITY)%","upstream_host":"%UPSTREAM_HOST%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","requested_server_name":"%REQUESTED_SERVER_NAME%","route_name":"%ROUTE_NAME%"} + jsonFormat: + :authority: '%REQ(:AUTHORITY)%' + bytes_received: '%BYTES_RECEIVED%' + bytes_sent: '%BYTES_SENT%' + connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%' + downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%' + downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%' + duration: '%DURATION%' + method: '%REQ(:METHOD)%' + protocol: '%PROTOCOL%' + requested_server_name: '%REQUESTED_SERVER_NAME%' + response_code: '%RESPONSE_CODE%' + response_code_details: '%RESPONSE_CODE_DETAILS%' + response_flags: '%RESPONSE_FLAGS%' + route_name: '%ROUTE_NAME%' + start_time: '%START_TIME%' + upstream_cluster: '%UPSTREAM_CLUSTER%' + upstream_host: '%UPSTREAM_HOST%' + upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%' + upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%' + user-agent: '%REQ(USER-AGENT)%' + x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' + x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' + x-forwarded-for: '%REQ(X-FORWARDED-FOR)%' + x-request-id: '%REQ(X-REQUEST-ID)%' path: /dev/stdout commonHttpProtocolOptions: headersWithUnderscoresAction: REJECT_REQUEST
internal/cmd/egctl/testdata/translate/out/quickstart.all.yaml+1 −1 modified@@ -92,7 +92,7 @@ infraIR: xdsIR: envoy-gateway-system/eg: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/listener.go+6 −6 modified@@ -246,7 +246,7 @@ func (t *Translator) processAccessLog(envoyproxy *egv1a1.EnvoyProxy, resources * (!envoyproxy.Spec.Telemetry.AccessLog.Disable && len(envoyproxy.Spec.Telemetry.AccessLog.Settings) == 0) { // use the default access log return &ir.AccessLog{ - Text: []*ir.TextAccessLog{ + JSON: []*ir.JSONAccessLog{ { Path: "/dev/stdout", }, @@ -275,8 +275,8 @@ func (t *Translator) processAccessLog(envoyproxy *egv1a1.EnvoyProxy, resources * format = *accessLog.Format } else { format = egv1a1.ProxyAccessLogFormat{ - Type: egv1a1.ProxyAccessLogFormatTypeText, - // Empty text format means default format + Type: egv1a1.ProxyAccessLogFormatTypeJSON, + // Empty means default format } } @@ -296,13 +296,13 @@ func (t *Translator) processAccessLog(envoyproxy *egv1a1.EnvoyProxy, resources * } if len(accessLog.Sinks) == 0 { - al := &ir.TextAccessLog{ - Format: format.Text, + al := &ir.JSONAccessLog{ + JSON: format.JSON, CELMatches: validExprs, LogType: accessLogType, Path: "/dev/stdout", } - irAccessLog.Text = append(irAccessLog.Text, al) + irAccessLog.JSON = append(irAccessLog.JSON, al) } for j, sink := range accessLog.Sinks {
internal/gatewayapi/testdata/backend-invalid-feature-disabled.out.yaml+1 −1 modified@@ -150,7 +150,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-across-ns.out.yaml+1 −1 modified@@ -118,7 +118,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-ca-only.out.yaml+1 −1 modified@@ -129,7 +129,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-ca-only-secret.out.yaml+1 −1 modified@@ -129,7 +129,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-default-ns.out.yaml+1 −1 modified@@ -224,7 +224,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-default-ns-targetrefs.out.yaml+2 −2 modified@@ -263,7 +263,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -321,7 +321,7 @@ xdsIR: name: "" envoy-gateway/gateway-btls2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-invalid-ca.out.yaml+1 −1 modified@@ -129,7 +129,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-multiple-targets.out.yaml+1 −1 modified@@ -171,7 +171,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtlspolicy-system-truststore.out.yaml+1 −1 modified@@ -126,7 +126,7 @@ infraIR: xdsIR: envoy-gateway/gateway-btls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit-out-of-range-error.out.yaml+2 −2 modified@@ -246,7 +246,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -289,7 +289,7 @@ xdsIR: connectTimeout: 15s envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit.out.yaml+2 −2 modified@@ -246,7 +246,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -289,7 +289,7 @@ xdsIR: connectTimeout: 15s envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit-with-invalid-value.out.yaml+2 −2 modified@@ -246,7 +246,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -289,7 +289,7 @@ xdsIR: connectTimeout: 15s envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-compression.out.yaml+1 −1 modified@@ -127,7 +127,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-override-replace.out.yaml+1 −1 modified@@ -269,7 +269,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-status-conditions.out.yaml+3 −3 modified@@ -518,7 +518,7 @@ infraIR: xdsIR: another-namespace/not-same-namespace-gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -537,7 +537,7 @@ xdsIR: port: 10080 envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -571,7 +571,7 @@ xdsIR: traffic: {} envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-status-fault-injection.out.yaml+2 −2 modified@@ -326,7 +326,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -370,7 +370,7 @@ xdsIR: percentage: 80 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-use-client-protocol.out.yaml+1 −1 modified@@ -124,7 +124,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-circuitbreakers-error.out.yaml+2 −2 modified@@ -308,7 +308,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -346,7 +346,7 @@ xdsIR: name: grpcroute/default/grpcroute-1/rule/0/match/-1/* envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-circuitbreakers.out.yaml+2 −2 modified@@ -250,7 +250,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -293,7 +293,7 @@ xdsIR: maxRequestsPerConnection: 1 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-dns-settings.out.yaml+2 −2 modified@@ -315,7 +315,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -359,7 +359,7 @@ xdsIR: respectDnsTtl: true envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-healthcheck.out.yaml+2 −2 modified@@ -675,7 +675,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -784,7 +784,7 @@ xdsIR: unhealthyThreshold: 3 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-http2.out.yaml+2 −2 modified@@ -248,7 +248,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -290,7 +290,7 @@ xdsIR: resetStreamOnError: false envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-httproute-timeout.out.yaml+1 −1 modified@@ -205,7 +205,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-loadbalancer-invalid-consistent-hash-table-size.out.yaml+1 −1 modified@@ -198,7 +198,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-loadbalancer.out.yaml+2 −2 modified@@ -418,7 +418,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -457,7 +457,7 @@ xdsIR: random: {} envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-default-route-level-limit.out.yaml+1 −1 modified@@ -147,7 +147,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-limit-unit.out.yaml+1 −1 modified@@ -151,7 +151,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-match-type.out.yaml+1 −1 modified@@ -147,7 +147,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-multiple-route-level-limits.out.yaml+1 −1 modified@@ -154,7 +154,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit.out.yaml+1 −1 modified@@ -150,7 +150,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-proxyprotocol.out.yaml+2 −2 modified@@ -242,7 +242,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -281,7 +281,7 @@ xdsIR: version: V1 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit-invalid-distinct-invert.out.yaml+1 −1 modified@@ -131,7 +131,7 @@ infraIR: xdsIR: envoy-gateway/gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit-invalid-regex.out.yaml+1 −1 modified@@ -133,7 +133,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit.out.yaml+2 −2 modified@@ -274,7 +274,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -327,7 +327,7 @@ xdsIR: unit: Hour envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-response-override-invalid-valueref.out.yaml+2 −2 modified@@ -291,7 +291,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -329,7 +329,7 @@ xdsIR: name: grpcroute/default/grpcroute-1/rule/0/match/-1/* default/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-response-override.out.yaml+2 −2 modified@@ -361,7 +361,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -421,7 +421,7 @@ xdsIR: contentType: application/json default/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-retries.out.yaml+2 −2 modified@@ -398,7 +398,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -444,7 +444,7 @@ xdsIR: - cancelled envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-same-prefix-httproutes.out.yaml+1 −1 modified@@ -166,7 +166,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-tcpkeepalive.out.yaml+2 −2 modified@@ -246,7 +246,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -287,7 +287,7 @@ xdsIR: probes: 3 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-gateway.out.yaml+1 −1 modified@@ -230,7 +230,7 @@ udpRoutes: xdsIR: default/tcp-gateway: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-route.out.yaml+1 −1 modified@@ -303,7 +303,7 @@ udpRoutes: xdsIR: default/tcp-gateway: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout-error.out.yaml+1 −1 modified@@ -124,7 +124,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout.out.yaml+2 −2 modified@@ -254,7 +254,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -298,7 +298,7 @@ xdsIR: connectTimeout: 15s envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout-targetrefs.out.yaml+2 −2 modified@@ -234,7 +234,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -270,7 +270,7 @@ xdsIR: connectTimeout: 15s envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/backend-with-fallback.out.yaml+1 −1 modified@@ -135,7 +135,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit.out.yaml+1 −1 modified@@ -156,7 +156,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit-with-format-error.out.yaml+1 −1 modified@@ -156,7 +156,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit-with-out-of-range-error.out.yaml+1 −1 modified@@ -157,7 +157,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-client-ip-detection.out.yaml+1 −1 modified@@ -259,7 +259,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-connection-limit-error.out.yaml+1 −1 modified@@ -158,7 +158,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-connection-limit.out.yaml+1 −1 modified@@ -158,7 +158,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-for-tcp-listeners.out.yaml+1 −1 modified@@ -181,7 +181,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-headers-error.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-headers.out.yaml+1 −1 modified@@ -138,7 +138,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-http10.out.yaml+1 −1 modified@@ -451,7 +451,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-http2.out.yaml+1 −1 modified@@ -160,7 +160,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-http3.out.yaml+1 −1 modified@@ -128,7 +128,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-http-health-check.out.yaml+1 −1 modified@@ -86,7 +86,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-idle-timeout.out.yaml+1 −1 modified@@ -125,7 +125,7 @@ infraIR: xdsIR: envoy-gateway/gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-idle-timeout-with-error.out.yaml+1 −1 modified@@ -87,7 +87,7 @@ infraIR: xdsIR: envoy-gateway/gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-invalid-settings.out.yaml+1 −1 modified@@ -383,7 +383,7 @@ tcpRoutes: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification.out.yaml+2 −2 modified@@ -229,7 +229,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -274,7 +274,7 @@ xdsIR: port: 8080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-mtls-forward-client-cert-custom-data.out.yaml+5 −5 modified@@ -541,7 +541,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -594,7 +594,7 @@ xdsIR: port: 8080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -629,7 +629,7 @@ xdsIR: requireClientCertificate: true envoy-gateway/gateway-3: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -666,7 +666,7 @@ xdsIR: requireClientCertificate: true envoy-gateway/gateway-4: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -705,7 +705,7 @@ xdsIR: requireClientCertificate: true envoy-gateway/gateway-5: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-mtls-forward-client-cert.out.yaml+5 −5 modified@@ -528,7 +528,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -581,7 +581,7 @@ xdsIR: port: 8080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -616,7 +616,7 @@ xdsIR: requireClientCertificate: true envoy-gateway/gateway-3: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -651,7 +651,7 @@ xdsIR: requireClientCertificate: true envoy-gateway/gateway-4: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -686,7 +686,7 @@ xdsIR: requireClientCertificate: true envoy-gateway/gateway-5: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-mtls.out.yaml+2 −2 modified@@ -228,7 +228,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -273,7 +273,7 @@ xdsIR: port: 8080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-path-settings.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-preserve-case-multiple-targets.out.yaml+2 −2 modified@@ -195,7 +195,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -217,7 +217,7 @@ xdsIR: port: 10080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-preserve-case.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-proxyprotocol.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-ratelimitheaders.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-status-conditions.out.yaml+4 −4 modified@@ -499,7 +499,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -518,7 +518,7 @@ xdsIR: port: 10080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -541,7 +541,7 @@ xdsIR: port: 10053 envoy-gateway/gateway-3: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -560,7 +560,7 @@ xdsIR: port: 10080 not-same-namespace/not-same-namespace-gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-tcp-keepalive.out.yaml+1 −1 modified@@ -158,7 +158,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-timeout.out.yaml+1 −1 modified@@ -125,7 +125,7 @@ infraIR: xdsIR: envoy-gateway/gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-timeout-with-error.out.yaml+1 −1 modified@@ -87,7 +87,7 @@ infraIR: xdsIR: envoy-gateway/gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-tls-settings.out.yaml+3 −3 modified@@ -319,7 +319,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -371,7 +371,7 @@ xdsIR: port: 8080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -398,7 +398,7 @@ xdsIR: minVersion: "1.2" envoy-gateway/gateway-3: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/clienttrafficpolicy-trailers.out.yaml+1 −1 modified@@ -122,7 +122,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/conflicting-policies.out.yaml+1 −1 modified@@ -262,7 +262,7 @@ securityPolicies: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/custom-filter-order.out.yaml+1 −1 modified@@ -217,7 +217,7 @@ securityPolicies: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout filterOrder: - before: envoy.filters.http.jwt_authn
internal/gatewayapi/testdata/envoyextensionpolicy-invalid-cross-ns-ref.out.yaml+1 −1 modified@@ -76,7 +76,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-override-replace.out.yaml+1 −1 modified@@ -265,7 +265,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-status-conditions.out.yaml+3 −3 modified@@ -518,7 +518,7 @@ infraIR: xdsIR: another-namespace/not-same-namespace-gateway: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -537,7 +537,7 @@ xdsIR: port: 10080 envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -571,7 +571,7 @@ xdsIR: prefix: / envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-matching-port.out.yaml+1 −1 modified@@ -127,7 +127,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-port.out.yaml+1 −1 modified@@ -127,7 +127,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-reference-grant.out.yaml+1 −1 modified@@ -129,7 +129,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-service.out.yaml+1 −1 modified@@ -128,7 +128,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-backendtlspolicy.out.yaml+1 −1 modified@@ -288,7 +288,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-multiple-backendrefs.out.yaml+1 −1 modified@@ -277,7 +277,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-traffic-features.out.yaml+1 −1 modified@@ -306,7 +306,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm-env-vars.out.yaml+1 −1 modified@@ -236,7 +236,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm.out.yaml+1 −1 modified@@ -238,7 +238,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm-targetrefs.out.yaml+1 −1 modified@@ -204,7 +204,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoypatchpolicy-cross-ns-target.out.yaml+1 −1 modified@@ -58,7 +58,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoypatchpolicy-invalid-feature-disabled.out.yaml+1 −1 modified@@ -68,7 +68,7 @@ infraIR: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout envoyPatchPolicies: - name: edit-conn-buffer-bytes
internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind-merge-gateways.out.yaml+1 −1 modified@@ -68,7 +68,7 @@ infraIR: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout envoyPatchPolicies: - name: edit-conn-buffer-bytes
internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind.out.yaml+1 −1 modified@@ -58,7 +58,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout envoyPatchPolicies: - name: edit-conn-buffer-bytes
internal/gatewayapi/testdata/envoypatchpolicy-valid-merge-gateways.out.yaml+1 −1 modified@@ -68,7 +68,7 @@ infraIR: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout envoyPatchPolicies: - jsonPatches:
internal/gatewayapi/testdata/envoypatchpolicy-valid.out.yaml+1 −1 modified@@ -58,7 +58,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout envoyPatchPolicies: - jsonPatches:
internal/gatewayapi/testdata/envoyproxy-accesslog-types.out.yaml+5 −4 modified@@ -367,6 +367,11 @@ xdsIR: text: | this is a Global log type: TCP + json: + - logType: Route + path: /dev/stdout + - logType: Listener + path: /dev/stdout openTelemetry: - authority: otel-collector.monitoring.svc.cluster.local destination: @@ -410,10 +415,6 @@ xdsIR: text: | this is a Global log text: - - logType: Route - path: /dev/stdout - - logType: Listener - path: /dev/stdout - format: | this is a route log logType: Route
internal/gatewayapi/testdata/envoyproxy-accesslog-without-format.out.yaml+0 −2 modified@@ -191,8 +191,6 @@ xdsIR: weight: 1 resources: k8s.cluster.name: cluster-1 - text: - - path: /dev/stdout http: - address: 0.0.0.0 hostnames:
internal/gatewayapi/testdata/envoyproxy-endpoint-routing-for-gateway.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-endpoint-routing.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-metric-backend-invalid.out.yaml+1 −1 modified@@ -132,7 +132,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-metric-backend.out.yaml+1 −1 modified@@ -125,7 +125,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-metric-enabled-backend.out.yaml+1 −1 modified@@ -128,7 +128,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-preserve-route-order.out.yaml+1 −1 modified@@ -154,7 +154,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-priority-backend.out.yaml+1 −1 modified@@ -280,7 +280,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-service-routing-for-gateway.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-service-routing.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid-ns.out.yaml+1 −1 modified@@ -227,7 +227,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-tls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid.out.yaml+1 −1 modified@@ -225,7 +225,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-tls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-tls-settings.out.yaml+1 −1 modified@@ -223,7 +223,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-tls: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-tracing-backend-invalid.out.yaml+1 −1 modified@@ -132,7 +132,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-tracing-backend.out.yaml+1 −1 modified@@ -152,7 +152,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/envoyproxy-valid.out.yaml+1 −1 modified@@ -116,7 +116,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/extensionpolicy-tcp-listener.out.yaml+1 −1 modified@@ -143,7 +143,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/extensionpolicy-udp-listener.out.yaml+1 −1 modified@@ -143,7 +143,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/extensionpolicy-with-invalid-target.out.yaml+1 −1 modified@@ -94,7 +94,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/extensionpolicy-with-valid-target-array.out.yaml+2 −2 modified@@ -154,7 +154,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -215,7 +215,7 @@ xdsIR: port: 10081 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/extensionpolicy-with-valid-target.out.yaml+1 −1 modified@@ -147,7 +147,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/httproute-with-extension-filter-invalid-group.out.yaml+1 −1 modified@@ -106,7 +106,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/httproute-with-non-matching-extension-filter.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/httproute-with-unsupported-extension-filter.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/extensions/httproute-with-valid-extension-filter.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-allows-same-namespace-with-allowed-httproute.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-allows-same-namespace-with-disallowed-httproute.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-http-listener-with-hostname-intersection.out.yaml+1 −1 modified@@ -169,7 +169,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-infrastructure.out.yaml+1 −1 modified@@ -111,7 +111,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-addresses-with-ipaddress.out.yaml+1 −1 modified@@ -63,7 +63,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-infrastructure-parametersref.out.yaml+1 −1 modified@@ -120,7 +120,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-invalid-infrastructure-parametersref-does-not-exist.out.yaml+1 −1 modified@@ -103,7 +103,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-invalid-infrastructure-parametersref-fallback.out.yaml+1 −1 modified@@ -120,7 +120,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-namespaces-selector.out.yaml+1 −1 modified@@ -88,5 +88,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-routes-group.out.yaml+1 −1 modified@@ -79,5 +79,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-routes-kind-and-supported.out.yaml+1 −1 modified@@ -81,5 +81,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-routes-kind.out.yaml+1 −1 modified@@ -79,5 +79,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-tls-route-kind.out.yaml+1 −1 modified@@ -79,5 +79,5 @@ tlsRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-multiple-tls-configuration.out.yaml+1 −1 modified@@ -94,5 +94,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-invalid-mode.out.yaml+1 −1 modified@@ -87,5 +87,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-no-certificate-refs.out.yaml+1 −1 modified@@ -82,5 +82,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-no-valid-certificate-for-fqdn.out.yaml+1 −1 modified@@ -89,5 +89,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-secret-does-not-exist.out.yaml+1 −1 modified@@ -86,5 +86,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-secret-in-other-namespace.out.yaml+1 −1 modified@@ -88,5 +88,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-secret-is-not-valid.out.yaml+1 −1 modified@@ -86,5 +86,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-missing-allowed-namespaces-selector.out.yaml+1 −1 modified@@ -81,5 +81,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-mismatch-port-protocol.out.yaml+1 −1 modified@@ -89,7 +89,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-backends.out.yaml+1 −1 modified@@ -92,7 +92,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-rules.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-tcp-with-hostname.out.yaml+1 −1 modified@@ -44,5 +44,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-tls-secret-in-other-namespace-allowed-by-refgrant.out.yaml+1 −1 modified@@ -100,7 +100,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-tls-terminate-and-passthrough.out.yaml+1 −1 modified@@ -169,7 +169,7 @@ tlsRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-mismatch-port-protocol.out.yaml+1 −1 modified@@ -89,7 +89,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-backends.out.yaml+1 −1 modified@@ -92,7 +92,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-rules.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-udp-with-hostname.out.yaml+1 −1 modified@@ -44,5 +44,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-tcproute.out.yaml+1 −1 modified@@ -56,7 +56,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-udproute.out.yaml+1 −1 modified@@ -56,7 +56,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-unsupported-protocol.out.yaml+1 −1 modified@@ -81,5 +81,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration.out.yaml+1 −1 modified@@ -102,7 +102,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration-with-same-algorithm-different-fqdn.out.yaml+1 −1 modified@@ -102,7 +102,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-listener-with-valid-tls-configuration.out.yaml+1 −1 modified@@ -99,7 +99,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-preexisting-status-condition.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-tcproutes.out.yaml+1 −1 modified@@ -119,7 +119,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-udproutes.out.yaml+1 −1 modified@@ -119,7 +119,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-stale-status-condition.out.yaml+1 −1 modified@@ -99,7 +99,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-tcp-or-tls-port.out.yaml+1 −1 modified@@ -112,7 +112,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-udp-port.out.yaml+1 −1 modified@@ -115,7 +115,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-http-and-tlsroute-same-hostname-and-port.out.yaml+1 −1 modified@@ -148,5 +148,5 @@ tlsRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-two-listeners-with-multiple-httproutes.out.yaml+1 −1 modified@@ -165,7 +165,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-and-hostname.out.yaml+1 −1 modified@@ -116,5 +116,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-and-incompatible-protocol.out.yaml+1 −1 modified@@ -116,5 +116,5 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout
internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-tcp-protocol.out.yaml+1 −1 modified@@ -160,7 +160,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-udp-protocol.out.yaml+1 −1 modified@@ -160,7 +160,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-without-sectionname.out.yaml+1 −1 modified@@ -153,7 +153,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-with-sectionname.out.yaml+1 −1 modified@@ -157,7 +157,7 @@ tcpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout tcp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-without-sectionname.out.yaml+1 −1 modified@@ -153,7 +153,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-with-sectionname.out.yaml+1 −1 modified@@ -157,7 +157,7 @@ udpRoutes: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout udp: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-backend.out.yaml+1 −1 modified@@ -120,7 +120,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-empty-backends.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-header-match.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-method-and-service-match.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-method-match.out.yaml+1 −1 modified@@ -99,7 +99,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-request-header-modifier.out.yaml+1 −1 modified@@ -103,7 +103,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/grpcroute-with-service-match.out.yaml+1 −1 modified@@ -99,7 +99,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-and-backendtrafficpolicy-with-timeout-error.out.yaml+1 −1 modified@@ -131,7 +131,7 @@ infraIR: xdsIR: envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-and-backendtrafficpolicy-with-timeout.out.yaml+2 −2 modified@@ -251,7 +251,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -294,7 +294,7 @@ xdsIR: connectTimeout: 15s envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-gateway.out.yaml+1 −1 modified@@ -93,7 +93,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-different-listeners.out.yaml+1 −1 modified@@ -353,7 +353,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-listeners.out.yaml+1 −1 modified@@ -304,7 +304,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners.out.yaml+1 −1 modified@@ -124,7 +124,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners-with-different-ports.out.yaml+1 −1 modified@@ -135,7 +135,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-matching-port.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-on-gateway-with-two-listeners.out.yaml+1 −1 modified@@ -126,7 +126,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener.out.yaml+1 −1 modified@@ -95,7 +95,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-and-core-backendrefs.out.yaml+1 −1 modified@@ -199,7 +199,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-backendref-mixed-address-type.out.yaml+1 −1 modified@@ -256,7 +256,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-backendref.out.yaml+1 −1 modified@@ -339,7 +339,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-backend-backendrefs-diff-address-type.out.yaml+1 −1 modified@@ -278,7 +278,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-backend-backendrefs-same-address-type.out.yaml+1 −1 modified@@ -287,7 +287,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-serviceimport-backendrefs-diff-address-type.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-serviceimport-backendrefs-same-address-type.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref-fqdn-address-type.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref-mixed-address-type.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-backend-request-timeout.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-not-attaching-to-listener-non-matching-port.out.yaml+1 −1 modified@@ -96,7 +96,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-request-timeout.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-retry.out.yaml+2 −2 modified@@ -234,7 +234,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -253,7 +253,7 @@ xdsIR: port: 10080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-rule-with-empty-backends-and-no-filters.out.yaml+1 −1 modified@@ -90,7 +90,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-no-weights.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-weights.out.yaml+1 −1 modified@@ -103,7 +103,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-rule-with-non-service-backends-and-app-protocols.out.yaml+1 −1 modified@@ -172,7 +172,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-rule-with-non-service-backends-and-weights.out.yaml+1 −1 modified@@ -170,7 +170,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproutes-with-multiple-matches.out.yaml+1 −1 modified@@ -280,7 +280,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-backendref-add-multiple-filters.out.yaml+1 −1 modified@@ -118,7 +118,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml+1 −1 modified@@ -95,7 +95,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-backendref-serviceimport-in-other-namespace-allowed-by-refgrant.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-direct-response.out.yaml+1 −1 modified@@ -150,7 +150,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-empty-matches.out.yaml+1 −1 modified@@ -92,7 +92,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-add-multiple-filters.out.yaml+1 −1 modified@@ -113,7 +113,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-adds.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-remove-multiple-filters.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-removes.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-empty-headers.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-empty-header-values.out.yaml+1 −1 modified@@ -107,7 +107,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-invalid-headers.out.yaml+1 −1 modified@@ -110,7 +110,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-no-headers.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-no-valid-headers.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-header-filter-remove.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-bad-port.out.yaml+1 −1 modified@@ -94,7 +94,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backendref-in-other-namespace.out.yaml+1 −1 modified@@ -95,7 +95,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-group.out.yaml+1 −1 modified@@ -98,7 +98,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-kind.out.yaml+1 −1 modified@@ -96,7 +96,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-port.out.yaml+1 −1 modified@@ -94,7 +94,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.import.out.yaml+1 −1 modified@@ -96,7 +96,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.out.yaml+1 −1 modified@@ -94,7 +94,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-unsupported-filter.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-invalid-regex.out.yaml+2 −2 modified@@ -145,7 +145,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -164,7 +164,7 @@ xdsIR: port: 10080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-metadata.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-mirror-filter-duplicates.out.yaml+1 −1 modified@@ -111,7 +111,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-mirror-filter-multiple.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-mirror-filter.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-mirror-filter-service-no-port.out.yaml+1 −1 modified@@ -106,7 +106,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-mirror-filter-service-not-found.out.yaml+1 −1 modified@@ -106,7 +106,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-multi-gateways-notmatch.out.yaml+2 −2 modified@@ -113,7 +113,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -132,7 +132,7 @@ xdsIR: port: 10080 envoy-gateway/gateway-2: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-multi-gateways-with-same-name.out.yaml+2 −2 modified@@ -146,7 +146,7 @@ infraIR: xdsIR: default/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -186,7 +186,7 @@ xdsIR: prefix: / envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-multiple-gateways-from-different-ns.out.yaml+2 −2 modified@@ -175,7 +175,7 @@ infraIR: xdsIR: default/gateway-a: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -212,7 +212,7 @@ xdsIR: prefix: /toy envoy-gateway/gateway-b: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-multiple-gateways-from-same-ns.out.yaml+2 −2 modified@@ -173,7 +173,7 @@ infraIR: xdsIR: envoy-gateway/gateway-a: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0 @@ -210,7 +210,7 @@ xdsIR: prefix: /toy envoy-gateway/gateway-b: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-non-matching-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-full-path-replace-https.out.yaml+1 −1 modified@@ -103,7 +103,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-hostname.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-filter-type.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-scheme.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-status.out.yaml+1 −1 modified@@ -100,7 +100,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-redirect-filter-prefix-replace-with-port-http.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-adds.out.yaml+1 −1 modified@@ -119,7 +119,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-add-multiple-filters.out.yaml+1 −1 modified@@ -113,7 +113,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-adds.out.yaml+1 −1 modified@@ -123,7 +123,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-remove-multiple-filters.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-removes.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-headers.out.yaml+1 −1 modified@@ -109,7 +109,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-header-values.out.yaml+1 −1 modified@@ -107,7 +107,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-invalid-headers.out.yaml+1 −1 modified@@ -110,7 +110,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-no-headers.out.yaml+1 −1 modified@@ -101,7 +101,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-no-valid-headers.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-response-header-filter-remove.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-single-rule-with-exact-path-match.out.yaml+1 −1 modified@@ -94,7 +94,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-single-rule-with-http-method-match.out.yaml+1 −1 modified@@ -92,7 +92,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-single-rule-with-multiple-rules.out.yaml+1 −1 modified@@ -120,7 +120,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-single-rule-with-path-prefix-and-exact-header-matches.out.yaml+1 −1 modified@@ -98,7 +98,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-some-invalid-backend-refs-no-service.out.yaml+1 −1 modified@@ -98,7 +98,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml+1 −1 modified@@ -96,7 +96,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-two-specific-hostnames-attaching-to-gateway-with-wildcard-hostname.out.yaml+1 −1 modified@@ -97,7 +97,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-full-path-replace-http.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname.out.yaml+1 −1 modified@@ -102,7 +102,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname-prefix-replace.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-filter-type.out.yaml+1 −1 modified@@ -102,7 +102,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-hostname.out.yaml+1 −1 modified@@ -108,7 +108,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-multiple-filters.out.yaml+1 −1 modified@@ -110,7 +110,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path.out.yaml+1 −1 modified@@ -105,7 +105,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path-type.out.yaml+1 −1 modified@@ -106,7 +106,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-missing-path.out.yaml+1 −1 modified@@ -103,7 +103,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-prefix-replace-http.out.yaml+1 −1 modified@@ -104,7 +104,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-regex-match-replace-http.out.yaml+1 −1 modified@@ -242,7 +242,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-regex-match-replace-invalid.out.yaml+1 −1 modified@@ -339,7 +339,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-hostname-filter-invalid.out.yaml+1 −1 modified@@ -345,7 +345,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-urlrewrite-hostname-filter.out.yaml+1 −1 modified@@ -246,7 +246,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/httproute-with-wildcard-hostname-attaching-to-gateway-with-unset-hostname.out.yaml+1 −1 modified@@ -95,7 +95,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/merge-invalid-multiple-gateways.out.yaml+1 −1 modified@@ -133,7 +133,7 @@ infraIR: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/merge-valid-multiple-gateways-multiple-listeners-same-ports.out.yaml+1 −1 modified@@ -169,7 +169,7 @@ infraIR: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
internal/gatewayapi/testdata/merge-valid-multiple-gateways-multiple-routes.out.yaml+1 −1 modified@@ -220,7 +220,7 @@ infraIR: xdsIR: envoy-gateway-class: accessLog: - text: + json: - path: /dev/stdout http: - address: 0.0.0.0
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
9- github.com/advisories/GHSA-mf24-chxh-hmvjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-25294ghsaADVISORY
- github.com/envoyproxy/gateway/commit/041d474a70d5921e5d65e6e14ea60e14dac70b01ghsaWEB
- github.com/envoyproxy/gateway/commit/358bed50dcb7b32f39a2edb252fb1399c7fc65dcghsaWEB
- github.com/envoyproxy/gateway/commit/8f48f5199cf1bbb9a8ac0695c5171bfef6c9198aghsax_refsource_MISCWEB
- github.com/envoyproxy/gateway/releases/tag/v1.2.7ghsaWEB
- github.com/envoyproxy/gateway/releases/tag/v1.3.1ghsaWEB
- github.com/envoyproxy/gateway/security/advisories/GHSA-mf24-chxh-hmvjghsax_refsource_CONFIRMWEB
- pkg.go.dev/vuln/GO-2025-3504ghsaWEB
News mentions
0No linked articles in our index yet.