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

ext_auth support backendRefs #3469

Merged
merged 9 commits into from
May 29, 2024
Merged

Conversation

zirain
Copy link
Contributor

@zirain zirain commented May 24, 2024

xref: #3091

@zirain zirain requested a review from a team as a code owner May 24, 2024 05:14
Copy link

codecov bot commented May 24, 2024

Codecov Report

Attention: Patch coverage is 71.87500% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 67.24%. Comparing base (3f7767f) to head (d883162).

Files Patch % Lines
internal/provider/kubernetes/controller.go 0.00% 7 Missing ⚠️
internal/gatewayapi/securitypolicy.go 80.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3469      +/-   ##
==========================================
+ Coverage   67.22%   67.24%   +0.02%     
==========================================
  Files         166      167       +1     
  Lines       19722    19744      +22     
==========================================
+ Hits        13258    13277      +19     
- Misses       5507     5512       +5     
+ Partials      957      955       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zirain zirain changed the title api: ext_auth support backendRefs ext_auth support backendRefs May 24, 2024
arkodg
arkodg previously approved these changes May 24, 2024
Copy link
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

LGTM thanks !

@arkodg
Copy link
Contributor

arkodg commented May 24, 2024

just realized, this is the Api PR :)

@arkodg arkodg requested review from a team May 24, 2024 22:01
@zirain
Copy link
Contributor Author

zirain commented May 24, 2024

just realized, this is the Api PR :)

everything is here.

will the support for multiple backendRefs be in a follow up ?

is there any user case for this?

zirain added 6 commits May 26, 2024 14:05
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
@zirain zirain force-pushed the api/ext-auth-backendref branch from 1287a27 to 1aa1ef8 Compare May 26, 2024 06:05
zirain added 2 commits May 26, 2024 14:54
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
@zirain
Copy link
Contributor Author

zirain commented May 26, 2024

wait #3478

@arkodg arkodg requested review from a team May 28, 2024 22:39
Copy link
Contributor

@shawnh2 shawnh2 left a comment

Choose a reason for hiding this comment

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

LGTM! Just some nits.


// BackendRefs references a Kubernetes object that represents the
// backend server to which the authorization request will be sent.
// Only service Kind is supported for now.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// Only service Kind is supported for now.
// Only Service kind is supported for now.

@zirain zirain merged commit 78fe57a into envoyproxy:main May 29, 2024
26 checks passed
@zirain zirain deleted the api/ext-auth-backendref branch May 29, 2024 02:58
@zirain zirain mentioned this pull request May 29, 2024
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.

3 participants