Add missing envoy_on_response in curiefense lua filter
@@ -16,7 +16,7 @@ spec:
patch:
operation: INSERT_BEFORE
value: # lua filter specification
- name: envoy.lua
+ name: envoy.filters.http.lua
typed_config:
"@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.Lua"
inlineCode: |
@@ -24,4 +24,7 @@ spec:
function envoy_on_request(handle)
session.inspect(handle)
end
+ function envoy_on_response(handle)
+ session.on_response(handle)
+ end
{{- end }}
