ExtJwt: don't log verify errors as they spam for grafana-agent (#90351)

* ExtJwt: don't log verify errors as they spam for grafana-agent

* remove dead code

* revert unintended change

* revert unintended change
This commit is contained in:
Charandas
2024-07-11 18:23:43 -07:00
committed by GitHub
parent d2bc4f3255
commit 4abb4d1662
3 changed files with 44 additions and 42 deletions
+1
View File
@@ -102,6 +102,7 @@ func SetupConfig(
// Needs to run last in request chain to function as expected, hence we register it first.
handler := filters.WithTracingHTTPLoggingAttributes(requestHandler)
// filters.WithRequester needs to be after the K8s chain because it depends on the K8s user in context
handler = filters.WithRequester(handler)
handler = genericapiserver.DefaultBuildHandlerChain(handler, c)