You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.
The problem is that I can't get the values I would like from it, using the format I was expecting it to be :{"route_metadata", "envoy.lua", "authorization"} or {"route_metadata", "envoy", "lua", "authorization"}.
Just as a sanity check, {"request", "path"} works as expected.
If I query for the root route_metadata I get an weird string representation.
From the docs, I believe that should be a map or structured values are converted to a sequence of pairs recursively. but apparently it is none of those. I've tried unmarshal the bytes to a map, also without success.
Please check the code and logs bellow.
Would this be a bug or maybe I'm doing something wrong?
What is your Envoy/Istio version?
Tested with Envoy 1.17 and 1.22
What is the SDK version?
v0.18.0
What is your TinyGo version?
tinygo version 0.23.0 darwin/amd64 (using go version go1.17.2 and LLVM version 14.0.0)
URL or snippet of your code including Envoy configuration
Describe the bug / error
I'm trying to query the route filter metadata, using the
GetProperty
function, based on the docs: https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/advanced/attributesThe problem is that I can't get the values I would like from it, using the format I was expecting it to be :
{"route_metadata", "envoy.lua", "authorization"}
or{"route_metadata", "envoy", "lua", "authorization"}
.Just as a sanity check,
{"request", "path"}
works as expected.If I query for the root
route_metadata
I get an weird string representation.From the docs, I believe that should be a map or
structured values are converted to a sequence of pairs recursively.
but apparently it is none of those. I've tried unmarshal the bytes to a map, also without success.Please check the code and logs bellow.
Would this be a bug or maybe I'm doing something wrong?
What is your Envoy/Istio version?
Tested with Envoy
1.17
and1.22
What is the SDK version?
v0.18.0
What is your TinyGo version?
tinygo version 0.23.0 darwin/amd64 (using go version go1.17.2 and LLVM version 14.0.0)
URL or snippet of your code including Envoy configuration
Additional context (Optional)
Logs:
The text was updated successfully, but these errors were encountered: