Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filters/auth: implement opt-out support for jwtMetrics #3025

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

AlexanderYastrebov
Copy link
Member

Extend configuration of jwtMetrics (#3020) to support opt-out - disable metrics collection when any of the configured route annotations (#3022) is present.

This can be used to collect data about missing/invalid JWT tokens per hostname in multitenant ingress setup.

Add jwtMetrics filter to all routes using -default-filters-append flag and allow users to annotate routes that do not require JWT token.

@AlexanderYastrebov AlexanderYastrebov added the major moderate risk, for example new API, small filter changes that have no risk like refactoring or logs label Apr 19, 2024
docs/reference/filters.md Outdated Show resolved Hide resolved
Extend configuration of `jwtMetrics` (#3020) to support opt-out -
disable metrics collection when any of the configured
route annotations (#3022) is present.

This can be used to collect data about missing/invalid JWT tokens per hostname
in multitenant ingress setup.

Add `jwtMetrics` filter to all routes using `-default-filters-append` flag and
allow users to annotate routes that do not require JWT token.

Signed-off-by: Alexander Yastrebov <[email protected]>
@szuecs
Copy link
Member

szuecs commented Apr 22, 2024

👍

1 similar comment
@AlexanderYastrebov
Copy link
Member Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
major moderate risk, for example new API, small filter changes that have no risk like refactoring or logs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants