Skip to content

Adds AuthenticationFilter Support to Resource Translator#804

Merged
danehans merged 1 commit intoenvoyproxy:mainfrom
danehans:authen_api_translator
Jan 10, 2023
Merged

Adds AuthenticationFilter Support to Resource Translator#804
danehans merged 1 commit intoenvoyproxy:mainfrom
danehans:authen_api_translator

Conversation

@danehans
Copy link
Copy Markdown
Contributor

@danehans danehans commented Dec 13, 2022

Adds AuthenticationFilter support to the resource translator.

xref:#790

@danehans danehans requested a review from a team as a code owner December 13, 2022 19:14
@danehans danehans added this to the 0.3.0-rc.1 milestone Dec 13, 2022
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Dec 13, 2022

Codecov Report

Merging #804 (fbc7945) into main (22131aa) will increase coverage by 0.41%.
The diff coverage is 94.59%.

@@            Coverage Diff             @@
##             main     #804      +/-   ##
==========================================
+ Coverage   63.91%   64.32%   +0.41%     
==========================================
  Files          50       50              
  Lines        6506     6532      +26     
==========================================
+ Hits         4158     4202      +44     
+ Misses       2087     2073      -14     
+ Partials      261      257       -4     
Impacted Files Coverage Δ
internal/gatewayapi/filters.go 81.36% <94.44%> (+1.27%) ⬆️
internal/gatewayapi/route.go 89.00% <100.00%> (ø)
internal/provider/kubernetes/helpers.go 79.50% <0.00%> (+1.63%) ⬆️
internal/provider/kubernetes/controller.go 49.64% <0.00%> (+2.10%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not 100% clear in the Gateway API spec, but I think if the filter ref can't be resolved (i.e. the referent doesn't exist), then setting a ResolvedRefs: false condition would be more appropriate than Accepted: false (UnsupportedValue).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(For unknown filter types, what we're doing here still makes sense though)

Copy link
Copy Markdown
Contributor Author

@danehans danehans Jan 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@skriss thanks for the review. Commit fbc7945 resolves your above comment, PTAL.

@danehans danehans force-pushed the authen_api_translator branch from d601dea to 07ec1b4 Compare December 30, 2022 23:27
Signed-off-by: danehans <daneyonhansen@gmail.com>
@danehans danehans force-pushed the authen_api_translator branch from 07ec1b4 to fbc7945 Compare January 2, 2023 17:46
@danehans danehans requested a review from skriss January 5, 2023 17:19
@danehans danehans merged commit 942729f into envoyproxy:main Jan 10, 2023
@danehans danehans deleted the authen_api_translator branch January 10, 2023 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants